fix config

This commit is contained in:
Sergey Paramoshkin 2025-09-17 13:27:29 +03:00
parent 63e49dec1d
commit b75e4d3784
1 changed files with 3 additions and 14 deletions

View File

@ -18,20 +18,9 @@ server {
client_max_body_size 30m;
client_body_buffer_size 30M;
# location / {
# access_log /var/log/nginx/staging1c-view_access.log json;
# error_log /var/log/nginx/staging1c-view_error.log;
# proxy_pass http://1c-view;
# proxy_http_version 1.1;
# proxy_set_header Upgrade $http_upgrade;
# proxy_set_header Connection 'upgrade';
# proxy_set_header Host $host;
# proxy_cache_bypass $http_upgrade;
# chunked_transfer_encoding off;
# proxy_buffering off;
# proxy_cache off;
# }
location / {
try_files $uri /index.php$is_args$args;
}
location @rewriteapp {
rewrite ^(.*)$ /index.php/$1 last;