diff --git a/deployment/docker-compose/nginx_default_local_full.conf b/deployment/docker-compose/nginx_default_local_full.conf deleted file mode 100644 index a6e1934aea..0000000000 --- a/deployment/docker-compose/nginx_default_local_full.conf +++ /dev/null @@ -1,64 +0,0 @@ -gzip on; -gzip_disable "msie6"; -gzip_vary on; -gzip_proxied any; -gzip_comp_level 6; -gzip_buffers 16 8k; -gzip_http_version 1.1; -gzip_min_length 256; -gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/vnd.ms-fontobject application/x-font-ttf font/opentype image/svg+xml image/x-icon application/javascript; -client_max_body_size 50M; -absolute_redirect off; -real_ip_header X-Forwarded-For; -real_ip_recursive on; -set_real_ip_from 10.0.0.0/8; -rewrite_log on; -limit_req_log_level info; -limit_req_status 429; -map_hash_bucket_size 256; -resolver_timeout 3s; -server_tokens off; -proxy_socket_keepalive on; -proxy_http_version 1.1; -proxy_set_header Connection ""; - -log_format logger-json escape=json '{ "body_bytes_sent": $body_bytes_sent, "http_referer": "$http_referer", "http_user_agent": "$http_user_agent", "remote_addr": "$remote_addr", "remote_user": "$remote_user", "request": "$request", "status": $status, "time_local": "$time_local", "x_forwarded_for": "$http_x_forwarded_for" }'; - -access_log /dev/stdout logger-json; - -server { - listen 5173 default_server; - server_name localhost; - - location @api { - rewrite /api/(.*) /$1 break; - proxy_pass http://apihost:8080; - proxy_redirect off; - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - - proxy_read_timeout 90; - proxy_connect_timeout 90; - proxy_send_timeout 90; - - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - } - location ^~ /api/ { - try_files /dev/null @api; - } - - location / { - alias /usr/share/nginx/html/; - - try_files $uri $uri/ /index.html; - - if ($uri = /index.html) { - add_header Cache-Control "no-cache"; - } - } - -} \ No newline at end of file