Skip to content

Commit

Permalink
added challenge location to ssl conf on nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
serweb-labs committed Oct 27, 2024
1 parent 2551f6f commit de437a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nginx/ssl.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
root /var/www/html/public;
index index.php index.html index.htm;

location /.well-known/acme-challenge/ {
root /var/www/certbot;
}

location / {
return 301 https://$host$request_uri;
try_files $uri /index.php$is_args$args;
Expand Down

0 comments on commit de437a4

Please sign in to comment.