Spaces:
Running
Running
server { | |
listen 7860; | |
server_name localhost; | |
# Указываем временные директории в /tmp | |
client_body_temp_path /tmp/nginx/client_temp 1 2; | |
proxy_temp_path /tmp/nginx/proxy_temp 1 2; | |
fastcgi_temp_path /tmp/nginx/fastcgi_temp 1 2; | |
uwsgi_temp_path /tmp/nginx/uwsgi_temp 1 2; | |
scgi_temp_path /tmp/nginx/scgi_temp 1 2; | |
location / { | |
root /usr/share/nginx/html; | |
index index.html; | |
try_files $uri $uri/ /index.html; | |
} | |
} |