Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/paas-docker/nginx/files/vhosts/registry.conf b/roles/paas-docker/nginx/files/vhosts/registry.conf
index a015721..4c4968e 100644
--- a/roles/paas-docker/nginx/files/vhosts/registry.conf
+++ b/roles/paas-docker/nginx/files/vhosts/registry.conf
@@ -1,57 +1,56 @@
# -------------------------------------------------------------
# Configuration for Docker PaaS front-end nginx
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Author: Sébastien Santoro aka Dereckson
# Created: 2018-11-13
# Source file: roles/paas-docker/nginx/files/vhosts/registry.conf
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
server {
listen 80;
listen [::]:80;
server_name {{ fqdn }};
include includes/letsencrypt;
return 301 https://$host$request_uri;
}
server {
server_name {{ fqdn }};
include includes/tls;
ssl_certificate /srv/letsencrypt/etc/live/{{ fqdn }}/fullchain.pem;
ssl_certificate_key /srv/letsencrypt/etc/live/{{ fqdn }}/privkey.pem;
include includes/letsencrypt;
location / {
{%- for ip in args['allowed_ips'] %}
allow {{ ip }};
{%- endfor %}
deny all;
# Allows large image uploads, with chunked transfers (avoids HTTP 411 and 413)
client_max_body_size 0;
chunked_transfer_encoding on;
proxy_pass http://localhost:{{ app_port }};
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 900;
}
root /var/wwwroot-502/_default;
error_page 502 /502.html;
location /502.html {}
-
}

File Metadata

Mime Type
text/x-diff
Expires
Fri, Jan 9, 09:03 (19 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3338333
Default Alt Text
(2 KB)

Event Timeline