2021-06-06 19:04:04 +03:00
|
|
|
server {
|
|
|
|
listen 80;
|
|
|
|
listen [::]:80;
|
|
|
|
|
2021-07-15 23:45:56 +03:00
|
|
|
listen 443 ssl;
|
2022-03-27 11:53:57 +03:00
|
|
|
ssl_certificate /home/alex/_certbot/config/live/gemini.a2s.su/fullchain.pem;
|
|
|
|
ssl_certificate_key /home/alex/_certbot/config/live/gemini.a2s.su/privkey.pem;
|
2021-06-06 19:04:04 +03:00
|
|
|
|
2022-03-27 11:53:57 +03:00
|
|
|
server_name gemini.a2s.su;
|
2021-06-06 19:04:04 +03:00
|
|
|
|
|
|
|
location / {
|
|
|
|
proxy_pass http://127.0.0.1:8080;
|
2021-07-21 00:29:33 +03:00
|
|
|
# root /home/alex/Gemini/lets_encrypt; # for certbot
|
2021-06-06 19:04:04 +03:00
|
|
|
}
|
|
|
|
}
|