summaryrefslogtreecommitdiffstats
path: root/nginx/pie_in_the_sky_kitchen.sls
diff options
context:
space:
mode:
Diffstat (limited to 'nginx/pie_in_the_sky_kitchen.sls')
-rw-r--r--nginx/pie_in_the_sky_kitchen.sls10
1 files changed, 8 insertions, 2 deletions
diff --git a/nginx/pie_in_the_sky_kitchen.sls b/nginx/pie_in_the_sky_kitchen.sls
index 28518a2..a7604d6 100644
--- a/nginx/pie_in_the_sky_kitchen.sls
+++ b/nginx/pie_in_the_sky_kitchen.sls
@@ -55,7 +55,13 @@ nginx:
- location /.well-known/acme-challenge:
- root: /srv/http
- - location ~ \.(js|css|png):
- - expires: modified +7d
+ - location /:
+ - proxy_http_version: '1.1'
+ - proxy_pass: http://127.0.0.1:6344
+ - proxy_set_header: X-Real-IP $remote_addr
+ - proxy_set_header: X-Forwarded-Proto https
+ - proxy_set_header: X-Forwarded-Host $host
+ - proxy_set_header: X-Forwarded-Server $host
+ - proxy_set_header: X-Forwarded-For $proxy_add_x_forwarded_for
# vim: ft=yaml et: