Comments (5)
I was able to fix it, the issue isn't related to the nginx-proxy-automation
container but on the app container, to fix it I've added this on the location block:
fastcgi_read_timeout 60000;
so it would be:
location ~ [^/]\.php(/|$) {
add_header Access-Control-Allow-Origin *;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_pass php-upstream;
fastcgi_index index.php;
fastcgi_read_timeout 60000;
}
from nginx-proxy-automation.
I don´t think this is a bug, but a question.
You must have the configuration loaded in nginx ontianer. Did you check if it was loaded as expected?
Where did you place your timeout.conf? Which folder?
Check this as well:
from nginx-proxy-automation.
I don´t think this is a bug, but a question.
You must have the configuration loaded in nginx ontianer. Did you check if it was loaded as expected?
Where did you place your timeout.conf? Which folder?
Check this as well:
Hi, thanks for the quick reply and sorry for the bug label.
The folder is this: https://github.com/evertramos/nginx-proxy-automation/tree/master/conf.d
and the file timeout.conf
should be automatically added to the nginx configuration.
I'm checking the resources you gave to me, but I hope to a further help on your side
from nginx-proxy-automation.
@cod3rshotout the folder conf.d is only copied once when you use fresh-start.sh script with option --use-nginx-conf-files.
Other wise you must check your .env to see where the nginx files are and add this file there, so the nginx can read them from inside the container.
After you do that you must reload the nginx and check if your settings are there.
from nginx-proxy-automation.
@cod3rshotout the folder conf.d is only copied once when you use fresh-start.sh script with option --use-nginx-conf-files.
Other wise you must check your .env to see where the nginx files are and add this file there, so the nginx can read them from inside the container.
Yep, when I've installed the proxy I used the --use-nginx-conf-files
flag, so the file should be available in the nginx configuration.
Forgot to say that when I use nginx -s reload
I get:
"keepalive_timeout" directive is duplicate in /etc/nginx/conf.d/timeout.conf:6
nginx: [emerg] "keepalive_timeout" directive is duplicate in /etc/nginx/conf.d/timeout.conf:6
this is the content of timeout.conf
:
fastcgi_read_timeout 600s;
proxy_connect_timeout 600s;
proxy_send_timeout 600s;
proxy_read_timeout 600s;
send_timeout 600s;
keepalive_timeout 600s;
from nginx-proxy-automation.
Related Issues (20)
- Help with 502 error HOT 9
- VIRTUAL_PATH support
- Does it support php webpage?
- [BUG] Docker hub API v1 not working anymore HOT 1
- 500 Internal Server Error Nginx error for my second website HOT 1
- Drop support for SSL 1.0 and 1.1 HOT 1
- nginx-proxy-automation with varnish cache http accellerator
- [BUG] ./fresh-start.sh fails HOT 3
- [ Question ] Reverse proxy domain path to cloud function or AWS Lambda service?
- [BUG] Error starting the service HOT 1
- [BUG] fresh-start.sh broken HOT 1
- [BUG] proxy-web-auto, unknown directive "http2" HOT 1
- Multiple server? HOT 1
- [BUG] nginx: [emerg] unknown directive "http2" in web container HOT 3
- Support reverse-proxying with Gluetun containers HOT 4
- [BUG] Issue in fresh install; proxy-web-auto exits and acme challenge fails HOT 5
- [BUG] Django - 502 Bad Gateway HOT 1
- [BUG] no live upstreams while connecting to upstream HOT 2
- [BUG] SSL Not work, HOT 3
- [BUG] SPA History Mode sub route 404 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-proxy-automation.