diff --git a/static/frontend-tls-selfsigned/common.conf b/static/frontend-tls-selfsigned/common.conf deleted file mode 100644 index dbdb07b..0000000 --- a/static/frontend-tls-selfsigned/common.conf +++ /dev/null @@ -1,20 +0,0 @@ -charset utf-8; - -location / { - try_files $uri /index.php$is_args$query_string; -} - -location ~* .(jpg|jpeg|png|gif|ico|css|js)$ { - expires 365d; -} - -location ~ \.php$ { - fastcgi_pass backend:9000; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include fastcgi_params; -} - -location ~ /\.ht { - deny all; -} \ No newline at end of file diff --git a/static/frontend-tls-selfsigned/conf.d/default.conf b/static/frontend-tls-selfsigned/conf.d/default.conf deleted file mode 100644 index 436cccc..0000000 --- a/static/frontend-tls-selfsigned/conf.d/default.conf +++ /dev/null @@ -1,9 +0,0 @@ -server { - listen 8080 default_server; - server_name _; - - root /var/www/public; - access_log /proc/self/fd/1; - - include /etc/nginx/common.conf; -} \ No newline at end of file diff --git a/static/frontend-tls-selfsigned/conf.d/ssl.conf b/static/frontend-tls-selfsigned/conf.d/ssl.conf deleted file mode 100644 index a1d0c90..0000000 --- a/static/frontend-tls-selfsigned/conf.d/ssl.conf +++ /dev/null @@ -1,12 +0,0 @@ -server { - listen 8443 ssl; - server_name _; - - root /var/www/public; - access_log /proc/self/fd/1; - - ssl_certificate /etc/ssl/private/grocy-nginx.crt; - ssl_certificate_key /etc/ssl/private/grocy-nginx.key; - - include /etc/nginx/common.conf; -} \ No newline at end of file diff --git a/static/frontend-tls-selfsigned/nginx.conf b/static/frontend-tls-selfsigned/nginx.conf deleted file mode 100644 index 3f1e9d9..0000000 --- a/static/frontend-tls-selfsigned/nginx.conf +++ /dev/null @@ -1,33 +0,0 @@ -worker_processes auto; - -pid /tmp/nginx.pid; - -events { - worker_connections 1024; -} - -http { - # Basic mime type configuration - include mime.types; - default_type application/octet-stream; - - # Configuration related to client connections and content upload - sendfile on; - tcp_nopush on; - tcp_nodelay on; - client_max_body_size 50M; - - # Write nginx temporary files to /tmp in order to run in rootless configuration - # See: https://hub.docker.com/_/nginx/ - client_body_temp_path /tmp/client_temp; - proxy_temp_path /tmp/proxy_temp_path; - fastcgi_temp_path /tmp/fastcgi_temp; - uwsgi_temp_path /tmp/uwsgi_temp; - scgi_temp_path /tmp/scgi_temp; - - # Enable compression for application content - gzip on; - gzip_types application/javascript application/json application/octet-stream application/pdf font/woff font/woff2 image/gif image/jpeg image/png image/webp image/x-icon text/css; - - include /etc/nginx/conf.d/*.conf; -}