Konfigurationen erstellen
server {
listen 80;
listen [::]:80;
server_name old.bytespeicher.org;
root /var/www/old.bytespeicher.org/public_html;
index index.html;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}
server {
listen 80;
listen [::]:80;
server_name old.makerspace-erfurt.de;
root /var/www/old.makerspace-erfurt.de/public_html;
index index.html;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
}