nginx ssl fix

This commit is contained in:
Alexander Popov 2021-07-15 23:45:56 +03:00
parent bd3bb1f9e7
commit 5fa3695d1a

7
nginxconfig Executable file → Normal file
View File

@ -2,13 +2,16 @@ server {
listen 80;
listen [::]:80;
listen 443;
ssl on;
listen 443 ssl;
ssl_certificate /home/alex/_certbot/config/live/gemini.iiiypuk.me/fullchain.pem;
ssl_certificate_key /home/alex/_certbot/config/live/gemini.iiiypuk.me/privkey.pem;
server_name gemini.iiiypuk.me;
location /.well-known/ {
root /home/alex/Gemini/Let\'s\ Encrypt/;
}
location / {
proxy_pass http://127.0.0.1:8080;
}