| @ -1,9 +0,0 @@ | |||||
| server_name <?php echo e($domain); ?>; | |||||
| # include snippets | |||||
| include /etc/nginx/snippets/deny.conf; | |||||
| include /etc/nginx/snippets/expires.conf; | |||||
| # logs | |||||
| access_log /var/log/nginx/<?php echo e($domain); ?>.access.log; | |||||
| error_log /var/log/nginx/<?php echo e($domain); ?>.error.log;<?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/templates/nginx/partials/default.blade.php ENDPATH**/ ?> | |||||
| @ -1,7 +0,0 @@ | |||||
| server { | |||||
| location / { | |||||
| try_files $uri $uri/ /index.php; | |||||
| } | |||||
| } | |||||
| <?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/templates/nginx/flight.blade.php ENDPATH**/ ?> | |||||
| @ -1,44 +0,0 @@ | |||||
| server { | |||||
| listen 80; | |||||
| listen [::]:80; | |||||
| server_name <?php echo e($domain); ?> <?php if($redirect_www): ?> www.<?php echo e($domain); ?> <?php endif; ?>; | |||||
| return 301 https://<?php echo e($domain); ?>$request_uri; | |||||
| } | |||||
| <?php if($redirect_www): ?> | |||||
| server { | |||||
| listen 443 ssl http2; | |||||
| listen [::]:443 ssl http2; | |||||
| ssl_certificate /etc/letsencrypt/live/www.<?php echo e($domain); ?>/fullchain.pem; | |||||
| ssl_certificate_key /etc/letsencrypt/live/www.<?php echo e($domain); ?>/privkey.pem; | |||||
| include snippets/ssl-params.conf; | |||||
| include /etc/nginx/snippets/secure-headers.conf; | |||||
| server_name www.<?php echo e($domain); ?>; | |||||
| return 301 https://<?php echo e($domain); ?>$request_uri; | |||||
| } | |||||
| <?php endif; ?> | |||||
| server { | |||||
| listen 443 ssl http2; | |||||
| listen [::]:443 ssl http2; | |||||
| ssl_certificate /etc/letsencrypt/live/<?php echo e($domain); ?>/fullchain.pem; | |||||
| ssl_certificate_key /etc/letsencrypt/live/<?php echo e($domain); ?>/privkey.pem; | |||||
| add_header Content-Security-Policy " | |||||
| default-src 'self'; | |||||
| font-src 'self'; | |||||
| style-src 'self'; | |||||
| img-src 'self'; | |||||
| base-uri 'self'; | |||||
| form-action 'self'; | |||||
| frame-ancestors 'self'; | |||||
| "; | |||||
| <?php echo $__env->make('partials.default', ['domain' => $domain], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> | |||||
| <?php echo $__env->yieldContent('server'); ?> | |||||
| }<?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/nginx/templates/layouts/ssl.blade.php ENDPATH**/ ?> | |||||
| @ -1,44 +0,0 @@ | |||||
| <?php $__env->startSection('server'); ?> | |||||
| root <?php echo e($root); ?>; | |||||
| index <?php echo e($index); ?>; | |||||
| # rewrite | |||||
| location / { | |||||
| try_files $uri $uri/ /index.php?$args; | |||||
| } | |||||
| location = /favicon.ico { | |||||
| log_not_found off; | |||||
| access_log off; | |||||
| } | |||||
| location = /robots.txt { | |||||
| allow all; | |||||
| log_not_found off; | |||||
| access_log off; | |||||
| } | |||||
| location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { | |||||
| expires max; | |||||
| log_not_found off; | |||||
| } | |||||
| location ~ /\. { | |||||
| deny all; | |||||
| } | |||||
| location ~* /(?:uploads|files)/.*\.php$ { | |||||
| deny all; | |||||
| } | |||||
| # php-fpm configuration. | |||||
| location ~ \.php(/|$) { | |||||
| fastcgi_split_path_info ^(.+\.php)(.*)$; | |||||
| fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; | |||||
| fastcgi_index index.php; | |||||
| fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; | |||||
| fastcgi_param DOCUMENT_ROOT $realpath_root; | |||||
| include /etc/nginx/fastcgi_params; | |||||
| } | |||||
| <?php $__env->stopSection(); ?> | |||||
| <?php echo $__env->make($ssl ? 'layouts.ssl' : 'layouts.no-ssl', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/templates/nginx/wordpress.blade.php ENDPATH**/ ?> | |||||
| @ -1,16 +0,0 @@ | |||||
| server { | |||||
| listen 80; | |||||
| listen [::]:80; | |||||
| server_name <?php echo e($domain); ?> <?php if($redirect_www): ?> www.<?php echo e($domain); ?> <?php endif; ?>; | |||||
| return 301 http://<?php echo e($domain); ?>$request_uri; | |||||
| } | |||||
| server { | |||||
| listen 80; | |||||
| listen [::]:80; | |||||
| <?php echo $__env->make('partials.default', ['domain' => $domain], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> | |||||
| <?php $__env->startSection('server'); ?> | |||||
| <?php echo $__env->yieldSection(); ?> | |||||
| }<?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/templates/nginx/layouts/no-ssl.blade.php ENDPATH**/ ?> | |||||
| @ -1,9 +0,0 @@ | |||||
| server_name <?php echo e($domain); ?>; | |||||
| # include snippets | |||||
| include /etc/nginx/snippets/deny.conf; | |||||
| include /etc/nginx/snippets/expires.conf; | |||||
| # logs | |||||
| access_log /var/log/nginx/<?php echo e($domain); ?>.access.log; | |||||
| error_log /var/log/nginx/<?php echo e($domain); ?>.error.log;<?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/nginx/templates/partials/default.blade.php ENDPATH**/ ?> | |||||
| @ -1,44 +0,0 @@ | |||||
| server { | |||||
| listen 80; | |||||
| listen [::]:80; | |||||
| server_name <?php echo e($domain); ?> <?php if($redirect_www): ?> www.<?php echo e($domain); ?> <?php endif; ?>; | |||||
| return 301 https://<?php echo e($domain); ?>$request_uri; | |||||
| } | |||||
| <?php if($redirect_www): ?> | |||||
| server { | |||||
| listen 443 ssl http2; | |||||
| listen [::]:443 ssl http2; | |||||
| ssl_certificate /etc/letsencrypt/live/www.<?php echo e($domain); ?>/fullchain.pem; | |||||
| ssl_certificate_key /etc/letsencrypt/live/www.<?php echo e($domain); ?>/privkey.pem; | |||||
| include snippets/ssl-params.conf; | |||||
| include /etc/nginx/snippets/secure-headers.conf; | |||||
| server_name www.<?php echo e($domain); ?>; | |||||
| return 301 https://<?php echo e($domain); ?>$request_uri; | |||||
| } | |||||
| <?php endif; ?> | |||||
| server { | |||||
| listen 443 ssl http2; | |||||
| listen [::]:443 ssl http2; | |||||
| ssl_certificate /etc/letsencrypt/live/<?php echo e($domain); ?>/fullchain.pem; | |||||
| ssl_certificate_key /etc/letsencrypt/live/<?php echo e($domain); ?>/privkey.pem; | |||||
| add_header Content-Security-Policy " | |||||
| default-src 'self'; | |||||
| font-src 'self'; | |||||
| style-src 'self'; | |||||
| img-src 'self'; | |||||
| base-uri 'self'; | |||||
| form-action 'self'; | |||||
| frame-ancestors 'self'; | |||||
| "; | |||||
| <?php echo $__env->make('partials.default', ['domain' => $domain], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> | |||||
| <?php echo $__env->yieldContent('server'); ?> | |||||
| }<?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/templates/nginx/layouts/ssl.blade.php ENDPATH**/ ?> | |||||
| @ -1,9 +0,0 @@ | |||||
| <?php $__env->startSection('server'); ?> | |||||
| root <?php echo e($root); ?>; | |||||
| index <?php echo e($index); ?>; | |||||
| location / { | |||||
| try_files $uri $uri/ /index.php; | |||||
| } | |||||
| <?php $__env->stopSection(); ?> | |||||
| <?php echo $__env->make($ssl ? 'layouts.ssl' : 'layouts.no-ssl', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/nginx/templates/flight.blade.php ENDPATH**/ ?> | |||||
| @ -1,44 +0,0 @@ | |||||
| <?php $__env->startSection('server'); ?> | |||||
| root <?php echo e($root); ?>; | |||||
| index <?php echo e($index); ?>; | |||||
| # rewrite | |||||
| location / { | |||||
| try_files $uri $uri/ /index.php?$args; | |||||
| } | |||||
| location = /favicon.ico { | |||||
| log_not_found off; | |||||
| access_log off; | |||||
| } | |||||
| location = /robots.txt { | |||||
| allow all; | |||||
| log_not_found off; | |||||
| access_log off; | |||||
| } | |||||
| location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { | |||||
| expires max; | |||||
| log_not_found off; | |||||
| } | |||||
| location ~ /\. { | |||||
| deny all; | |||||
| } | |||||
| location ~* /(?:uploads|files)/.*\.php$ { | |||||
| deny all; | |||||
| } | |||||
| # php-fpm configuration. | |||||
| location ~ \.php(/|$) { | |||||
| fastcgi_split_path_info ^(.+\.php)(.*)$; | |||||
| fastcgi_pass unix:/var/run/php/php7.2-fpm.sock; | |||||
| fastcgi_index index.php; | |||||
| fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name; | |||||
| fastcgi_param DOCUMENT_ROOT $realpath_root; | |||||
| include /etc/nginx/fastcgi_params; | |||||
| } | |||||
| <?php $__env->stopSection(); ?> | |||||
| <?php echo $__env->make($ssl ? 'layouts.ssl' : 'layouts.no-ssl', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/test/Workspace/tentakelfabrik/mcp/resources/nginx/templates/wordpress.blade.php ENDPATH**/ ?> | |||||