Document Directus production contract and repair auth
This commit is contained in:
parent
0a7ee5ff35
commit
92ce8bce97
32 changed files with 24821 additions and 65 deletions
33
directus/reference/nginx-summary.txt
Normal file
33
directus/reference/nginx-summary.txt
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
3: listen 80;
|
||||
4: server_name forms.lasereverything.net;
|
||||
5: client_max_body_size 100M;
|
||||
8: location /.well-known/acme-challenge/ {
|
||||
13: location / {
|
||||
20: listen 443 ssl;
|
||||
22: server_name forms.lasereverything.net;
|
||||
23: client_max_body_size 100M;
|
||||
28: ssl_protocols TLSv1.2 TLSv1.3;
|
||||
31: add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
||||
33: location / {
|
||||
34: proxy_pass http://127.0.0.1:8056;
|
||||
37: proxy_set_header Host $host;
|
||||
38: proxy_set_header X-Real-IP $remote_addr;
|
||||
39: proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
40: proxy_set_header X-Forwarded-Proto $scheme;
|
||||
43: proxy_set_header Upgrade $http_upgrade;
|
||||
44: proxy_set_header Connection "upgrade";
|
||||
46: proxy_read_timeout 300;
|
||||
48: proxy_send_timeout 300;
|
||||
57: add_header Access-Control-Allow-Origin "$http_origin" always;
|
||||
58: add_header Access-Control-Allow-Credentials "true" always;
|
||||
59: add_header Access-Control-Allow-Headers "Authorization, Content-Type, X-Requested-With" always;
|
||||
60: add_header Access-Control-Allow-Methods "GET, POST, PUT, PATCH, DELETE, OPTIONS" always;
|
||||
61: add_header Vary "Origin" always;
|
||||
66: add_header Access-Control-Max-Age 1728000 always;
|
||||
67: add_header Content-Type "text/plain; charset=utf-8" always;
|
||||
68: add_header Content-Length 0 always;
|
||||
71: add_header Access-Control-Allow-Origin "$http_origin" always;
|
||||
72: add_header Access-Control-Allow-Credentials "true" always;
|
||||
73: add_header Access-Control-Allow-Headers "Authorization, Content-Type, X-Requested-With" always;
|
||||
74: add_header Access-Control-Allow-Methods "GET, POST, PUT, PATCH, DELETE, OPTIONS" always;
|
||||
75: add_header Vary "Origin" always;
|
||||
Loading…
Add table
Add a link
Reference in a new issue