Top "Nginx-config" questions

How to edit nginx.conf to increase file size upload

I want to increase the maximum file size that can be uploaded. After doing some research online, I found that …

nginx nginx-config
nginx location 404 not found

Here are my nginx configure files. On the default.conf, the first location is used to access /usr/share/nginx/…

nginx location http-status-code-404 nginx-location nginx-config
nginx redirect loop, remove index.php from url

I want any requests like http://example.com/whatever/index.php, to do a 301 redirect to http://example.com/whatever/. …

php nginx url redirect nginx-config
How to set Secure attribute to Set-cookie in Nginx through nginx.conf file

I am new to Nginx server. recently started working nginx project. I have task to set security headers through nginx.…

nginx session-cookies nginx-reverse-proxy nginx-config setcookie
How to setup custom 503 error page in Nginx that intercepts all requests?

I learned how to get NGINX to return 503 customer error pages, but I cannot find out how to do the …

nginx redirect nginx-config http-status-code-503
Cannot start service web: OCI runtime create failed:

can I ask some help please when I execute the command docker-compose up -d I get error can you help …

php docker docker-compose docker-for-windows nginx-config
Error trying to run nginx using docker-compose with custom conf.d

I'm trying to set up a web server with multiple containers - but starting with a simple setup for my …

docker nginx docker-compose nginx-config
Guide on how to use regex in Nginx location block section?

Nginx regex location syntaxe Regex expressions can be used with Nginx location block section, this is implemented with the PCRE …

regex nginx regex-group nginx-location nginx-config
Nginx HTTP not redirecting to HTTPS 400 Bad Request "The plain HTTP request was sent to HTTPS port"

I'm running nginx in docker. HTTPS works fine but when I explicitly make HTTP request I get the following error 400 …

docker nginx nginx-reverse-proxy nginx-config
conditional routing with nginx based on referer

I need to route traffic based on the http request origin. I have two environments and we need to redirect …

nginx nginx-reverse-proxy nginx-config