Browse Source

LemmyNet/lemmy#1635: Fix IPv6 port setup for Nginx (#1636)

main
Aaron DeVore 4 months ago
committed by GitHub
parent
commit
79ee271a5e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ansible/templates/nginx.conf

2
ansible/templates/nginx.conf

@ -2,6 +2,7 @@ limit_req_zone $binary_remote_addr zone=lemmy_ratelimit:10m rate=1r/s;
server {
listen 80;
listen [::]:80;
server_name {{ domain }};
location /.well-known/acme-challenge/ {
root /var/www/certbot;
@ -13,6 +14,7 @@ server {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name {{ domain }};
ssl_certificate /etc/letsencrypt/live/{{domain}}/fullchain.pem;

Loading…
Cancel
Save