summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2023-11-06 21:18:06 +0000
committerJohannes Löthberg <johannes@kyriasis.com>2023-11-06 21:18:06 +0000
commit88ee8791f40d4f5f9272e7b0d859b13f515dc0a8 (patch)
treeadf268163fd03ee98c429f40f017d386636bf224 /nginx
parentff87858ddc019d07293d2c4a02b811e19b92cbd5 (diff)
downloadpillar-88ee8791f40d4f5f9272e7b0d859b13f515dc0a8.tar.xz
Add old proxying headers
Diffstat (limited to 'nginx')
-rw-r--r--nginx/gallery_remmy_io.sls9
1 files changed, 9 insertions, 0 deletions
diff --git a/nginx/gallery_remmy_io.sls b/nginx/gallery_remmy_io.sls
index 29b3d27..b1a9135 100644
--- a/nginx/gallery_remmy_io.sls
+++ b/nginx/gallery_remmy_io.sls
@@ -48,9 +48,18 @@ nginx:
- try_files: $uri $uri.html $uri/ =404
+
+ - location /.well-known/acme-challenge:
+ - root: /srv/http
+
- location /:
- proxy_http_version: '1.1'
- proxy_pass: http://127.0.0.1:8186
+ - 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
gallery-static.remmy.io:
enabled: True