Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F17415985
registry.conf
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
registry.conf
View Options
# -------------------------------------------------------------
# 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
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 15, 22:33 (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3256871
Default Alt Text
registry.conf (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment