This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
nginx-config/sites-available/media.hackspace-jena.de

15 lines
553 B
Text
Raw Permalink Normal View History

2016-05-21 13:47:21 +02:00
server {
listen 0.0.0.0:80;
listen [2a01:4f8:151:51a3:176:9:184:3]:80;
listen 0.0.0.0:443 ssl;
listen [2a01:4f8:151:51a3:176:9:184:3]:443 ssl;
ssl_certificate /etc/nginx/certs/www.krautspace.de.crt;
ssl_certificate_key /etc/nginx/certs/www.krautspace.de.key;
server_name media.hackspace-jena.de;
access_log /var/log/nginx/media.hackspace-jena.de_access.log ano;
error_log /var/log/nginx/media.hackspace-jena.de_error.log;
rewrite ^ https://media.krautspace.de$request_uri permanent;
}