infrastructure/nginx/conf.d/test.conf
Bensuperpc 6c244e3e68
Update nginx containter
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2023-03-19 13:01:07 +01:00

17 lines
388 B
Plaintext

server {
listen 80;
listen [::]:80;
#listen 443;
#listen [::]:443;
server_name test.bensuperpc.org www.test.bensuperpc.org;
location ~ /.well-known/acme-challenge {
allow all;
root /var/www/html;
}
location / {
return 301 https://www.bensuperpc.org$request_uri;
}
}