Skip to content

Commit

Permalink
fix(nginx): syntax error put location inside of server
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocroh committed May 16, 2024
1 parent 9537482 commit 9efcd6f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ http {
sendfile on;
keepalive_timeout 65;

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

upstream nodejs_api {
server bolhadev-chat:4000;
Expand All @@ -32,7 +29,10 @@ http {
server {
listen 80;
server_name api.bolhadev.chat;
root /public;

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

location / {
proxy_pass http://nodejs_api;
Expand Down

0 comments on commit 9efcd6f

Please sign in to comment.