Skip to content

Commit

Permalink
be specific where config is
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Sep 28, 2022
1 parent ca4b741 commit 2f121be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions files/etc/nginx/cdn-ips.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ref your cdn here, example bunnycdn below
include cdn/cdn-bunny.conf;
include /etc/nginx/cdn/cdn-bunny.conf;

# Local cache/proxy
set_real_ip_from 0.0.0.0/0;
Expand All @@ -22,4 +22,4 @@ map $http_x_forwarded_for $forwarded_ip {
map $forwarded_ip $realip {"~(?<IP>[^,]*),*.*" $IP;}


include geolite2.conf;
include /etc/nginx/geolite2.conf;
6 changes: 3 additions & 3 deletions files/etc/nginx/sites-enabled/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ server {
listen 443 ssl http2;
listen [::]:443 ipv6only=on ssl http2;

include include/ssl-ciphers.conf;
ssl_certificate ssl/dummycert.crt;
ssl_certificate_key ssl/dummykey.key;
include /etc/nginx/include/ssl-ciphers.conf;
ssl_certificate /etc/nginx/ssl/dummycert.crt;
ssl_certificate_key /etc/nginx/ssl/dummykey.key;

set $width -;
set $height -;
Expand Down

0 comments on commit 2f121be

Please sign in to comment.