Update server config and parallelize archive unpacking
This commit is contained in:
+10
-10
@@ -1,6 +1,6 @@
|
||||
worker_processes 1;
|
||||
error_log "Z:/Code/Insar_management_system_v2/logs/nginx_error.log" warn;
|
||||
pid "Z:/Code/Insar_management_system_v2/logs/nginx.pid";
|
||||
error_log "D:/Code/Insar_management_system_v2/logs/nginx_error.log" warn;
|
||||
pid "D:/Code/Insar_management_system_v2/logs/nginx.pid";
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
@@ -9,12 +9,12 @@ events {
|
||||
http {
|
||||
include mime.types;
|
||||
default_type application/octet-stream;
|
||||
access_log "Z:/Code/Insar_management_system_v2/logs/nginx_access.log";
|
||||
client_body_temp_path "Z:/Code/Insar_management_system_v2/nginx/temp/client_body";
|
||||
proxy_temp_path "Z:/Code/Insar_management_system_v2/nginx/temp/proxy";
|
||||
fastcgi_temp_path "Z:/Code/Insar_management_system_v2/nginx/temp/fastcgi";
|
||||
uwsgi_temp_path "Z:/Code/Insar_management_system_v2/nginx/temp/uwsgi";
|
||||
scgi_temp_path "Z:/Code/Insar_management_system_v2/nginx/temp/scgi";
|
||||
access_log "D:/Code/Insar_management_system_v2/logs/nginx_access.log";
|
||||
client_body_temp_path "D:/Code/Insar_management_system_v2/nginx/temp/client_body";
|
||||
proxy_temp_path "D:/Code/Insar_management_system_v2/nginx/temp/proxy";
|
||||
fastcgi_temp_path "D:/Code/Insar_management_system_v2/nginx/temp/fastcgi";
|
||||
uwsgi_temp_path "D:/Code/Insar_management_system_v2/nginx/temp/uwsgi";
|
||||
scgi_temp_path "D:/Code/Insar_management_system_v2/nginx/temp/scgi";
|
||||
|
||||
sendfile on;
|
||||
keepalive_timeout 65;
|
||||
@@ -31,7 +31,7 @@ http {
|
||||
# If tile server address changes, update the sources below accordingly
|
||||
add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: http://127.0.0.1:8900 http://127.0.0.1:8910 https://*.tile.openstreetmap.org https://*.tile.opentopomap.org; connect-src 'self' http://127.0.0.1:8900 http://127.0.0.1:8910; font-src 'self' data:; worker-src blob:;" always;
|
||||
|
||||
root "Z:/Code/Insar_management_system_v2/frontend/dist";
|
||||
root "D:/Code/Insar_management_system_v2/frontend/dist";
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
@@ -62,7 +62,7 @@ http {
|
||||
}
|
||||
|
||||
location /image_cache/ {
|
||||
alias "Z:/Code/Insar_management_system_v2/backend/image_cache/";
|
||||
alias "D:/Code/Insar_management_system_v2/backend/image_cache/";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user