forked from MarseyWorld/MarseyWorld
fix nginx config
parent
127eae8379
commit
88d90612ef
42
nginx.conf
42
nginx.conf
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue