diff options
-rw-r--r-- | deploy/nginx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/deploy/nginx b/deploy/nginx new file mode 100644 index 00000000..ac25e85f --- /dev/null +++ b/deploy/nginx @@ -0,0 +1,15 @@ +server {
+ server_name timeline.crupest.life;
+ listen 80;
+
+ location / {
+ proxy_pass http://localhost:5000;
+ proxy_http_version 1.1;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection $http_connection;
+ proxy_set_header Host $host;
+ proxy_cache_bypass $http_upgrade;
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
+ proxy_set_header X-Forwarded-Proto $scheme;
+ }
+}
|