infra/roles/private/files/europa/http.owncloud.internal.simponic.xyz.conf
2024-02-27 14:57:36 -05:00

14 lines
275 B
Plaintext

server {
listen 80;
server_name owncloud.internal.simponic.xyz;
location /.well-known/acme-challenge {
root /var/www/letsencrypt;
try_files $uri $uri/ =404;
}
location / {
rewrite ^ https://owncloud.internal.simponic.xyz$request_uri? permanent;
}
}