1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-11-22 10:20:11 +00:00

Updated Reverse Proxying (markdown)

Harvey Tindall 2021-01-15 18:59:15 +00:00
parent dcc6d3fdaa
commit 0fb81075e0

@ -20,6 +20,7 @@ server {
location / { location / {
proxy_pass http://localhost:8056; # change as you need proxy_pass http://localhost:8056; # change as you need
http2_push_preload on; # Should make the page load quicker.
} }
} }
``` ```
@ -48,6 +49,7 @@ server {
add_header Content-Security-Policy ""; add_header Content-Security-Policy "";
proxy_pass http://localhost:8056; # Change as you need proxy_pass http://localhost:8056; # Change as you need
http2_push_preload on;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;