diff options
Diffstat (limited to 'nginx/gallery_remmy_io.sls')
-rw-r--r-- | nginx/gallery_remmy_io.sls | 9 |
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 |