Skip to content

Commit

Permalink
Revert changes on nginx configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
CrommVardek committed May 26, 2022
1 parent c87fd5d commit f94d337
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,6 @@ http {

server {
listen 80;

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

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html;
#try_files $uri =404;
}
}

server {
listen 443 ssl;

ssl_certificate /etc/letsencrypt/live/polkauction.io/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/polkauction.io/privkey.pem;
include /etc/letsencrypt/options-ssl-nginx.conf;
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

location / {
root /usr/share/nginx/html;
Expand Down

0 comments on commit f94d337

Please sign in to comment.