forked from github/plane
Update nginx.conf
This commit is contained in:
parent
7ad806e124
commit
c124981b3f
@ -1,11 +1,6 @@
|
|||||||
events { }
|
events { }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
error_log /var/log/nginx/error.log;
|
|
||||||
server_tokens off;
|
|
||||||
access_log /var/log/nginx/access.log;
|
|
||||||
|
|
||||||
http {
|
http {
|
||||||
sendfile on;
|
sendfile on;
|
||||||
upstream django {
|
upstream django {
|
||||||
@ -53,7 +48,6 @@ server {
|
|||||||
return 200;
|
return 200;
|
||||||
}
|
}
|
||||||
add_header 'Access-Control-Allow-Credentials' 'true';
|
add_header 'Access-Control-Allow-Credentials' 'true';
|
||||||
add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS, PUT', 'HEAD', 'DELETE' ;
|
|
||||||
}
|
}
|
||||||
error_page 500 502 503 504 /50x.html;
|
error_page 500 502 503 504 /50x.html;
|
||||||
location = /50x.html {
|
location = /50x.html {
|
||||||
|
Loading…
Reference in New Issue
Block a user