Update nginx.conf

This commit is contained in:
Narayana 2023-03-08 16:05:54 +05:30
parent 7ad806e124
commit c124981b3f

View File

@ -1,11 +1,6 @@
events { }
error_log /var/log/nginx/error.log;
server_tokens off;
access_log /var/log/nginx/access.log;
http {
sendfile on;
upstream django {
@ -53,7 +48,6 @@ server {
return 200;
}
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;
location = /50x.html {