/
githubmirror
/
aspnetcore
Обзор
Документация
Войти
/
githubmirror
/
aspnetcore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Servers/test/FunctionalTests/NoCompression.conf
45 строк
1 KB
Tom Deseyn
ServerComparison.FunctionalTests: extend nginx configuration so nginx starts on RHEL and Fedora. (#46507)
11 фев 2023, 07:08
Не верифицирован
11 фев 2023, 07:08
39079bb
Код
Авторство
О чём код?
error_log [errorlog]; user [user]; worker_processes 4; pid [pidFile]; events { worker_connections 768; } http { sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 10; types_hash_max_size 2048; # nginx fails start on Fedora/RHEL as non-root with permission errors when # trying to create these paths at their default location under /var/lib/nginx/tmp. # Set them to a writable location. client_body_temp_path /tmp/client_body; proxy_temp_path /tmp/proxy; fastcgi_temp_path /tmp/fastcgi; uwsgi_temp_path /tmp/uwsgi; scgi_temp_path /tmp/scgi; default_type application/octet-stream; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; access_log [accesslog]; gzip off; server { listen [listenPort]; location / { proxy_pass [redirectUri]; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Host $host; proxy_cache_bypass $http_upgrade; } } }