nginx config

This commit is contained in:
Alexander Popov 2021-06-06 19:04:04 +03:00
parent 68385d68ef
commit cbcdc9918e
1 changed files with 15 additions and 0 deletions

15
nginxconfig Executable file
View File

@ -0,0 +1,15 @@
server {
listen 80;
listen [::]:80;
listen 443;
ssl on;
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 / {
proxy_pass http://127.0.0.1:8080;
}
}