mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-16 01:25:09 +01:00
localhost nginx
This commit is contained in:
parent
ec93c7df6c
commit
5ec5a3e64e
2 changed files with 42 additions and 5 deletions
26
nginx/nginx.local.conf
Normal file
26
nginx/nginx.local.conf
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
events {
|
||||
worker_connections 512;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
server_name "nilstrieb.dev";
|
||||
|
||||
return 302 http://blog.nilstrieb.dev$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
server_name "private-docker-registry.nilstrieb.dev";
|
||||
|
||||
location / {
|
||||
return 404 'No registry here...';
|
||||
#proxy_pass http://registry:5000/;
|
||||
}
|
||||
}
|
||||
|
||||
server_tokens off;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue