fix nginx config

master
Aevann 2023-03-17 15:09:51 +02:00
parent 127eae8379
commit 88d90612ef
1 changed files with 21 additions and 21 deletions

View File

@ -8,7 +8,7 @@ server {
proxy_set_header X-Forwarded-For $remote_addr;
location / {
proxy_pass http://localhost:5000;
proxy_pass http://localhost:5000/;
include includes/headers;
}
location /socket.io {
@ -43,45 +43,45 @@ server {
location /images {
alias /images;
location /images/ {
alias /images/;
include includes/serve-static;
}
location /chat_images {
alias /chat_images;
location /chat_images/ {
alias /chat_images/;
include includes/serve-static;
}
location /videos {
alias /videos;
location /videos/ {
alias /videos/;
include includes/serve-static;
}
location /audio {
alias /audio;
location /audio/ {
alias /audio/;
include includes/serve-static;
}
location /songs {
alias /songs;
location /songs/ {
alias /songs/;
include includes/serve-static;
}
location /asset_submissions {
alias /asset_submissions;
location /asset_submissions/ {
alias /asset_submissions/;
include includes/serve-static;
}
location /archives {
alias /archives;
location /archives/ {
alias /archives/;
include includes/serve-static;
}
location /assets {
alias /rDrama/files/assets;
location /assets/ {
alias /rDrama/files/assets/;
include includes/serve-static;
}
location /i {
alias /rDrama/files/assets/images;
location /i/ {
alias /rDrama/files/assets/images/;
include includes/serve-static;
}
location /e {
alias /rDrama/files/assets/images/emojis;
location /e/ {
alias /rDrama/files/assets/images/emojis/;
include includes/serve-static;
}