mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
setup
This commit is contained in:
parent
922056b63c
commit
58b33d6fd1
5 changed files with 40 additions and 13 deletions
|
|
@ -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/;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue