Add some more correct settings for jenkins

This commit is contained in:
Salt 2022-01-22 10:19:04 -06:00
parent c8793cc240
commit 964d3228e2

View File

@ -112,8 +112,14 @@
- "error_log /dev/null" - "error_log /dev/null"
proxy_pass: http://libreddit:8080 proxy_pass: http://libreddit:8080
- name: jenkins.desu.ltd - name: jenkins.desu.ltd
proxy_pass: http://jenkins:8080
locations: locations:
- location: "/"
contents: |
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Forwarded-Port 443;
proxy_pass http://jenkins:8080;
- location: | - location: |
~ "^/static/[0-9a-fA-F]{8}\/(.*)$" ~ "^/static/[0-9a-fA-F]{8}\/(.*)$"
contents: | contents: |