nginx ssl fix
This commit is contained in:
parent
bd3bb1f9e7
commit
5fa3695d1a
7
nginxconfig
Executable file → Normal file
7
nginxconfig
Executable file → Normal file
@ -2,13 +2,16 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
|
|
||||||
listen 443;
|
listen 443 ssl;
|
||||||
ssl on;
|
|
||||||
ssl_certificate /home/alex/_certbot/config/live/gemini.iiiypuk.me/fullchain.pem;
|
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;
|
ssl_certificate_key /home/alex/_certbot/config/live/gemini.iiiypuk.me/privkey.pem;
|
||||||
|
|
||||||
server_name gemini.iiiypuk.me;
|
server_name gemini.iiiypuk.me;
|
||||||
|
|
||||||
|
location /.well-known/ {
|
||||||
|
root /home/alex/Gemini/Let\'s\ Encrypt/;
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://127.0.0.1:8080;
|
proxy_pass http://127.0.0.1:8080;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user