mirror of
https://github.com/YunoHost-Apps/yacy_ynh.git
synced 2024-09-03 18:05:59 +02:00
proxy
This commit is contained in:
parent
2ad6a5f763
commit
d04f01b872
1 changed files with 9 additions and 8 deletions
|
@ -1,10 +1,11 @@
|
||||||
location PATHTOCHANGE/yacy {
|
location PATHTOCHANGE/ {
|
||||||
proxy_pass http://127.0.0.1:8090PATHTOCHANGE/yacy;
|
proxy_pass_header Server;
|
||||||
|
proxy_set_header Host $http_host;
|
||||||
|
proxy_redirect off;
|
||||||
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
proxy_set_header X-Scheme $scheme;
|
||||||
|
proxy_pass http://127.0.0.1:8090/;
|
||||||
|
|
||||||
# Include SSOWAT user panel.
|
# Include SSOWAT user panel.
|
||||||
include conf.d/yunohost_panel.conf.inc;
|
include conf.d/yunohost_panel.conf.inc;
|
||||||
more_clear_input_headers 'Accept-Encoding';
|
|
||||||
}
|
|
||||||
location PATHTOCHANGE/ {
|
|
||||||
proxy_pass http://127.0.0.1:8090/;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue