27 lines
530 B
Plaintext
27 lines
530 B
Plaintext
server {
|
|
listen 80 default_server;
|
|
location ^~ /.well-known/acme-challenge/ {
|
|
content_by_lua_block {
|
|
auto_ssl:challenge_server()
|
|
}
|
|
}
|
|
location / {
|
|
return 302 https://$host$request_uri;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl default_server;
|
|
include ldap.conf;
|
|
include ssl.conf;
|
|
resolver 127.0.0.11 valid=30s;
|
|
add_header X-debug-message "Fallback Entry" always;
|
|
return 404;
|
|
}
|
|
|
|
|
|
include /etc/nginx/conf.d/fet.at/*.conf;
|
|
include /etc/nginx/conf.d/luna.fet.at/*.conf;
|
|
|
|
|