Giter Site home page Giter Site logo

Comments (5)

cod3rshotout avatar cod3rshotout commented on May 24, 2024 3

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.

evertramos avatar evertramos commented on May 24, 2024

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:

#220

from nginx-proxy-automation.

cod3rshotout avatar cod3rshotout commented on May 24, 2024

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:

#220

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.

evertramos avatar evertramos commented on May 24, 2024

@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 avatar cod3rshotout commented on May 24, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.