Hello!
I have a local web server listening on port 80
can i make a nginx redirect to it using ssl?
like
sudo site example.com -proxy=[localhost:80] -ssl
Nothing wrong, it's just better if you just try it before asking. Share your effort!
And yes, you can use the "reverse proxy" site configuration for that purpose, just read the docs and try it!
there is no solution to my problem and no one began to help me
so i tried it myself
1. create empty site
site mysite.com -html
2. add ssl
site mysite.com -ssl=on
3. delete site, but dont delete ssl cert
site mysite.com -delete
Revoke SSL Cert [Y/n]?
answer No
4. add reverse proxy
site mysite.com -proxy=[192.168.7.102:80]
5. add ssl fo reverse proxy site
mkdir /opt/mysite.com
site mysite.com -ssl=on -root-path=/opt/mysite.com
PayPal · GitHub Sponsors · Bitcoin
It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.