curl -X OPTIONS http://aaa.bbb.ru -i
HTTP/1.1 405 Not Allowed
Server: openresty
Date: Wed, 26 Jun 2024 07:33:52 GMT
Content-Type: text/html
Content-Length: 166
Connection: keep-alive
<html>
<head><title>405 Not Allowed</title></head>
<body>
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.24.0 (Ubuntu)</center>
</body>
</html>
curl -X POST http://aaa.bbb.ru -i
HTTP/1.1 405 Not Allowed
Server: openresty
Date: Wed, 26 Jun 2024 07:33:59 GMT
Content-Type: text/html
Content-Length: 166
Connection: keep-alive
<html>
<head><title>405 Not Allowed</title></head>
<body>
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.24.0 (Ubuntu)</center>
</body>
</html>
curl -X GET http://aaa.bbb.ru -i
HTTP/1.1 200 OK
Server: openresty
Date: Wed, 26 Jun 2024 07:34:13 GMT
Content-Type: text/html
Content-Length: 472
Connection: keep-alive
Last-Modified: Tue, 25 Jun 2024 12:32:54 GMT
ETag: "667ab8f6-1d8"
Accept-Ranges: bytes
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Headers: User-Agent,Keep-Alive,Content-Type
Access-Control-Expose-Headers: Content-Length,Content-Range
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Unity WebGL Player | AchimDesktop</title>
<script src="Build/UnityLoader.js"></script>
<script>
UnityLoader.instantiate("unityContainer", "Build/0.8.4f1.demo.json");
</script>
</head>
<body>
<div id="unityContainer" style="width: 960px; height: 600px; margin: auto"></div>
</body>
</html>
curl -X OPTIONS http://aaa.bbb.ru -i
HTTP/1.1 405 Not Allowed
Server: openresty
Date: Wed, 26 Jun 2024 06:58:48 GMT
Content-Type: text/html
Content-Length: 166
Connection: keep-alive
<html>
<head><title>405 Not Allowed</title></head>
<body>
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.24.0 (Ubuntu)</center>
</body>
</html>
root@achimdemo:~# curl -X OPTIONS http://preview-spd.soft-expo.ru -i
HTTP/1.1 405 Not Allowed
Server: openresty
Date: Wed, 26 Jun 2024 07:05:07 GMT
Content-Type: text/html
Content-Length: 166
Connection: keep-alive
<html>
<head><title>405 Not Allowed</title></head>
<body>
<center><h1>405 Not Allowed</h1></center>
<hr><center>nginx/1.24.0 (Ubuntu)</center>
</body>
</html>
curl -X OPTIONS http://bbb.bbb.ru -i
HTTP/1.1 200 OK
Server: openresty
Date: Wed, 26 Jun 2024 07:12:04 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
Allow: DELETE, HEAD, GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Headers: User-Agent,Keep-Alive,Content-Type
Access-Control-Expose-Headers: Content-Length,Content-Range
curl -X OPTIONS http://ccc.bbb.ru/ -i
HTTP/1.1 200 OK
Server: openresty
Date: Wed, 26 Jun 2024 07:12:46 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 0
Connection: keep-alive
Allow: GET, OPTIONS, HEAD, POST
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Headers: User-Agent,Keep-Alive,Content-Type
Access-Control-Expose-Headers: Content-Length,Content-Range
version: "3.9"
services:
postgres:
image: postgres:latest
container_name: postgres
environment:
POSTGRES_PASSWORD: "123"
MAX_CONNECTION: 200
PGDATA: "/var/lib/postgresql/data/pgdata"
ports:
- "5432:5432"
volumes:
- type: bind
source: /opt/docker_postgres/postgres_data
target: /var/lib/postgresql/data/
#!/bin/bash
set -e
psql -v ON_ERROR_STOP=1 --username postgres --dbname 123 <<-EOSQL
CREATE USER user WITH PASSWORD 321;
CREATE DATABASE userdb;
GRANT ALL PRIVILEGES ON DATABASE userdb TO user;
EOSQL