# Wichtig damit auch die Uploadeinstellungen der php.ini greifen
client_max_body_size: '32M'
listen_port: 80
- auth_basic: 'Server'
- auth_basic_user_file: '/etc/nginx/.htpasswd'
access_log: '/var/log/nginx/tst-berhub-access_log'
error_log: '/var/log/nginx/tst-berhub-error_log'
format_log: 'combined'
autoindex: 'on'
raw_prepend:
- 'if ($http_x_forwarded_proto != "https") { return 301 https://$host$request_uri; }'
- vhost_cfg_prepend:
- satisfy: 'any'
- allow:
- - '217.66.48.0/24'
- - '217.66.49.0/24'
- - '217.66.50.0/24'
- - '217.66.51.0/24'
- - '217.66.56.0/24'
- - '194.174.72.0/21'
- deny: 'all'
tst-berhub-berlin-airport-de_ssl:
ensure: present
www_root: '/srv/www/tst-berhub-berlin-airport-de'
client_max_body_size: '32M'
listen_port: 443
ssl_port: 444
- auth_basic: 'Server'
- auth_basic_user_file: '/etc/nginx/.htpasswd'
access_log: '/var/log/nginx/tst-berhub-access_log'
error_log: '/var/log/nginx/tst-berhub-error_log'
format_log: 'combined'
raw_prepend:
- 'add_header Strict-Transport-Security "max-age=31536000" always;'
- 'if ($http_x_forwarded_proto != "https") { return 301 https://$host$request_uri; }'
- vhost_cfg_prepend:
- satisfy: 'any'
- allow:
- - '217.66.48.0/24'
- - '217.66.49.0/24'
- - '217.66.50.0/24'
- - '217.66.51.0/24'
- - '217.66.56.0/24'
- - '194.174.72.0/21'
- deny: 'all'
tst-wifi-berlin-airport-de:
www_root: '/srv/www/tst-wifi-berlin-airport-de'
index_files: