I have a local web server listening on port 80
can i make a nginx redirect to it using ssl?
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]?
4. add reverse proxy
site mysite.com -proxy=[192.168.7.102:80]
5. add ssl fo reverse proxy site
site mysite.com -ssl=on -root-path=/opt/mysite.com
PayPal · GitHub Sponsors · Bitcoin