fix(nginx): fix websocket issue in template
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2648>
This commit is contained in:
parent
b74a873b4a
commit
76362b020e
6 changed files with 7 additions and 1 deletions
|
|
@ -75,7 +75,7 @@ server {
|
|||
listen [::]:80;
|
||||
|
||||
server_name _;
|
||||
PI_IP}:${FUNKWHALE_API_PORT};
|
||||
|
||||
{% endif %}
|
||||
|
||||
# General configs
|
||||
|
|
@ -134,6 +134,7 @@ PI_IP}:${FUNKWHALE_API_PORT};
|
|||
|
||||
location / {
|
||||
expires 1d;
|
||||
include /etc/nginx/funkwhale_proxy.conf;
|
||||
{% if config.proxy_frontend and not config.reverse_proxy %}
|
||||
proxy_pass http://funkwhale-front;
|
||||
{% elif not config.proxy_frontend and config.reverse_proxy %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue