mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-22 10:20:11 +00:00
Updated Reverse Proxying (markdown)
parent
dcc6d3fdaa
commit
0fb81075e0
@ -20,6 +20,7 @@ server {
|
||||
|
||||
location / {
|
||||
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 "";
|
||||
|
||||
proxy_pass http://localhost:8056; # Change as you need
|
||||
http2_push_preload on;
|
||||
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
Loading…
Reference in New Issue
Block a user