diff options
author | jfederico <jesus@123it.ca> | 2021-04-08 14:38:03 -0400 |
---|---|---|
committer | jfederico <jesus@123it.ca> | 2021-04-08 14:38:03 -0400 |
commit | a07cfd330c349273af343e82fb8581d6bcfc849e (patch) | |
tree | 54163b03740154049c0b351cd28cac1f7c6c4a62 /data/proxy/nginx/sites-common | |
parent | e62fd6284be355d922e7623d1983b58fe7b6071c (diff) | |
download | scalelite-run-itzks-a07cfd330c349273af343e82fb8581d6bcfc849e.tar.gz scalelite-run-itzks-a07cfd330c349273af343e82fb8581d6bcfc849e.tar.bz2 scalelite-run-itzks-a07cfd330c349273af343e82fb8581d6bcfc849e.zip |
cleaned up nginx
Diffstat (limited to 'data/proxy/nginx/sites-common')
-rw-r--r-- | data/proxy/nginx/sites-common | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/proxy/nginx/sites-common b/data/proxy/nginx/sites-common new file mode 100644 index 0000000..d906992 --- /dev/null +++ b/data/proxy/nginx/sites-common @@ -0,0 +1,13 @@ +proxy_read_timeout 60s; +proxy_redirect off; + +proxy_set_header Host $http_host; + +proxy_set_header X-Real-IP $remote_addr; +proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + +proxy_set_header X-Forwarded-Proto $scheme; + +proxy_http_version 1.1; +proxy_set_header Upgrade $http_upgrade; +proxy_set_header Connection "upgrade"; |