Hi,
Certbot or I nuked my nginx. It doesn’t work as proxy server anymore. After certification renewed 3 times (in 90 days period) my nginx proxy_pass not working. I don’t remember but I use Certbot to install my nginx. And my /etc/nginx/ folder had it only 2 folder. conf.d and snippets folder. I configure and test it that was working. Since than I am trying to work on my project and using nginx as proxy server. yesterday I reset my ubuntu so I can instal everything again. My question is that I need to install minimal nginx only supports the based index.html and redirect the rest. I lost all my configuration as well. My question is:
- How to install minimal nginx so I can have only 2 folder (conf.d and snippets folder)?
- www.examples.com is my domain. I need to server only index.html in here. and everything related to www.examples.com/******* (start part) need to be redirect to 127.0.0.1:1024. how can I do that?
Thanks