Hi all,
i have a question for the nginx-plugin. Can i use it for a revers proxy? I have seach in the forum, but i dont find it exackly for the nginx-plugin.
I have played with a option in the nginx-plugin server for a Docker without a foulder and options like that:
But i don't know whot's the effect
Code
# static files
location ^~ /loleaflet {
proxy_pass https://localhost:4043;
proxy_set_header Host $http_host;
}
# WOPI discovery URL
location ^~ /hosting/discovery {
proxy_pass https://localhost:4043;
proxy_set_header Host $http_host;
}
# Main websocket
location ~ /lool/(.*)/ws$ {
proxy_pass https://localhost:4043;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
# Admin Console websocket
location ^~ /lool/adminws {
proxy_pass https://localhost:4043;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
# websockets, download, presentation and image upload
location ^~ /lool {
proxy_pass https://localhost:4043;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
}
Alles anzeigen