-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Nginx Error Messages? #1325
Comments
in vhost.d nginx config for your container have something like
not 100% if its 503 or some other error you have to cover. |
Great, very useful... But how do I get it so the error appears immediately in the browser. If the site isn't up and this gets triggered, then it seems the browser will always display this first: Attackers might be trying to steal your information from [domain] (for example, passwords, messages, or credit cards). Learn more Then you have to click twice to proceed. |
@dm17 I dont think you can do anything with that. Browser remembers that site is being loaded over HTTPS and if your site is down/certificate is invalid, user will get this error from browser. |
Note that you might want to use the |
It seems like most people use CDNs for this type of functionality these days, but is there some way to have "site will be back momentarily" sign until all of the nginx-proxy-fed docker services finish starting? This seems like a pretty common use case, so I figured someone here would have a good suggestion or extensions they've written to do this. So if visiting the domain while the services are still coming up - instead of seeing an nginx error (meaningless to most people) - it shows a "please check back in a few moments" message.
I had previous posted this in the wrong project:
nginx-proxy/acme-companion#574
The text was updated successfully, but these errors were encountered: