Until recently I managed my instances like you -> file by file. With the help from the nginx config generator (now owned by digitalocean). Source: over 1 year ago
You would think when you select the Reverse Proxy option at nginxconfig.io, it would update the resolver info to work with that setup :(. Source: almost 2 years ago
Please see my NGINX configuration (with the help of https://nginxconfig.io) in this pastebin. Source: almost 2 years ago
If you want to be sure run your config through a tool like https://nginxconfig.io to see if it comes up with the same syntax. Source: almost 2 years ago
Thanks for the detailed overview! I'm realizing now it's significantly more than just plug and play thanks to the replies here. Using nginxconfig.io, I was able to get the reverse proxy working! I fail to fully load my web services once connected though - for example, they redirect to a login page, but its a blank screen - but they are accessible and secure from WAN! Source: almost 2 years ago
How are you getting certs? What ACME client are you using? I would recommend doing a DNS challenge and then you can get a wildcard cert that you can use for all of your domains instead of having a different cert for each subdomain. Also, this site really helps with nginx conf files: https://nginxconfig.io. Source: almost 2 years ago
I used the handy digitalocean nginx config maker as my base and went from there: nginxconfig.io. Source: about 2 years ago
I think the best way to solve this is to divide your config into two vhosts. One for each IP address. That way you can simply redirect to the correct ip address without having a prone to error config like this. Also: I’m not sure if you’re actually using SSL, but that config is outdated. For more info check Mozilla’s SSL Config tool and https://nginxconfig.io. Source: over 2 years ago
For further nginx things: https://nginxconfig.io. Source: over 2 years ago
Do you know an article comparing nginxconfig.io to other products?
Suggest a link to a post with product alternatives.
This is an informative page about nginxconfig.io. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.