upstream web { server web:8000; } server { listen [::]:80; listen 80; include /etc/nginx/conf.d/server_config; location ~ /.well-known/acme-challenge { allow all; root /var/www/certbot; } }