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;
|
proxy_set_header X-Forwarded-For $remote_addr;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:5000;
|
proxy_pass http://localhost:5000/;
|
||||||
include includes/headers;
|
include includes/headers;
|
||||||
}
|
}
|
||||||
location /socket.io {
|
location /socket.io {
|
||||||
|
@ -43,45 +43,45 @@ server {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
location /images {
|
location /images/ {
|
||||||
alias /images;
|
alias /images/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
location /chat_images {
|
location /chat_images/ {
|
||||||
alias /chat_images;
|
alias /chat_images/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
location /videos {
|
location /videos/ {
|
||||||
alias /videos;
|
alias /videos/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
location /audio {
|
location /audio/ {
|
||||||
alias /audio;
|
alias /audio/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
location /songs {
|
location /songs/ {
|
||||||
alias /songs;
|
alias /songs/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
location /asset_submissions {
|
location /asset_submissions/ {
|
||||||
alias /asset_submissions;
|
alias /asset_submissions/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
location /archives {
|
location /archives/ {
|
||||||
alias /archives;
|
alias /archives/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /assets {
|
location /assets/ {
|
||||||
alias /rDrama/files/assets;
|
alias /rDrama/files/assets/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
location /i {
|
location /i/ {
|
||||||
alias /rDrama/files/assets/images;
|
alias /rDrama/files/assets/images/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
location /e {
|
location /e/ {
|
||||||
alias /rDrama/files/assets/images/emojis;
|
alias /rDrama/files/assets/images/emojis/;
|
||||||
include includes/serve-static;
|
include includes/serve-static;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue