2021-03-30 13:28:13 +00:00
|
|
|
upstream web {
|
|
|
|
server web:8000;
|
|
|
|
}
|
|
|
|
|
|
|
|
server {
|
|
|
|
listen [::]:80;
|
|
|
|
listen 80;
|
|
|
|
|
2021-05-23 06:07:45 +00:00
|
|
|
include /etc/nginx/conf.d/server_config;
|
2021-03-30 13:28:13 +00:00
|
|
|
|
|
|
|
location ~ /.well-known/acme-challenge {
|
|
|
|
allow all;
|
|
|
|
root /var/www/certbot;
|
|
|
|
}
|
|
|
|
}
|