This commit is contained in:
nora 2022-08-30 21:34:49 +02:00
parent 922056b63c
commit 58b33d6fd1
5 changed files with 40 additions and 13 deletions

View file

@ -6,10 +6,8 @@ http {
server {
listen 80;
location / {
return 200 'Hell, World!';
add_header Content-Type text/plain;
}
server_name nilstrieb.dev;
return 302 http://blog.nilstrieb.dev$request_uri;
}
server {
@ -18,7 +16,8 @@ http {
server_name registry.nilstrieb.dev;
location / {
proxy_pass http://registry:5000/;
return 404 'No registry here...';
#proxy_pass http://registry:5000/;
}
}