mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
nginx
This commit is contained in:
parent
06308cea0c
commit
1d186dd00d
5 changed files with 35 additions and 10 deletions
18
nginx/nginx.conf
Normal file
18
nginx/nginx.conf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
events {
|
||||
worker_connections 512;
|
||||
}
|
||||
|
||||
http {
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location /docker-registry {
|
||||
rewrite /docker-registry(.*) $1 break;
|
||||
proxy_pass http://registry:5000;
|
||||
proxy_redirect off;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
}
|
||||
|
||||
server_tokens off;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue