forked from gitbot/uguu
remove examples
This commit is contained in:
parent
7887c7e4b3
commit
05e3c435c3
@ -1,5 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name A.Y www.A.Y;
|
||||
return 301 https://A.Y$request_uri;
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
server{
|
||||
listen 443 ssl;
|
||||
server_name A.Y www.A.Y;
|
||||
ssl on;
|
||||
ssl_certificate /etc/letsencrypt/live/A.Y/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/A.Y/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
||||
ssl_ecdh_curve secp384r1;
|
||||
|
||||
root /var/www/uguu/files/;
|
||||
autoindex off;
|
||||
access_log off;
|
||||
index index.html;
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name X.Y www.X.Y;
|
||||
return 301 https://X.Y$request_uri;
|
||||
}
|
@ -1,37 +0,0 @@
|
||||
server{
|
||||
listen 443 ssl http2;
|
||||
server_name www.X.Y X.Y;
|
||||
ssl on;
|
||||
ssl_certificate /etc/letsencrypt/live/X.Y/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/X.Y/privkey.pem;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
||||
ssl_ecdh_curve secp384r1;
|
||||
|
||||
root /var/www/uguu/dist/;
|
||||
autoindex off;
|
||||
access_log off;
|
||||
index index.html index.php;
|
||||
etag on;
|
||||
|
||||
location ~* \.(css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf|x-icon|avif|webp|apng|min.js|min.css)$ {
|
||||
add_header Cache-Control "public";
|
||||
expires 30d;
|
||||
}
|
||||
|
||||
gzip on;
|
||||
gzip_min_length 1000;
|
||||
gzip_comp_level 6;
|
||||
gzip_proxied any;
|
||||
gzip_types text/css text/js text/javascript application/javascript application/x-javascript;
|
||||
|
||||
location ~* \.php$ {
|
||||
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_index index.php;
|
||||
fastcgi_split_path_info ^(.+\.php)(.*)$;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
}
|
||||
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
user www-data;
|
||||
worker_processes auto;
|
||||
pid /run/nginx.pid;
|
||||
include /etc/nginx/modules-enabled/*.conf;
|
||||
|
||||
events {
|
||||
worker_connections 4096;
|
||||
multi_accept on;
|
||||
use epoll;
|
||||
|
||||
}
|
||||
|
||||
http {
|
||||
|
||||
##
|
||||
# Basic Settings
|
||||
##
|
||||
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 10;
|
||||
types_hash_max_size 2048;
|
||||
server_tokens off;
|
||||
client_max_body_size 128m;
|
||||
|
||||
##
|
||||
# Mime Settings
|
||||
##
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
|
||||
##
|
||||
# Logging Settings
|
||||
##
|
||||
|
||||
#access_log /var/log/nginx/access.log;
|
||||
#error_log /var/log/nginx/error.log;
|
||||
error_log off;
|
||||
access_log off;
|
||||
|
||||
##
|
||||
# Gzip Settings
|
||||
##
|
||||
|
||||
#gzip off;
|
||||
#gzip_vary on;
|
||||
#gzip_proxied any;
|
||||
#gzip_comp_level 6;
|
||||
#gzip_buffers 16 8k;
|
||||
#gzip_http_version 1.1;
|
||||
#gzip_types application/javascript application/rss+xml application/vnd.ms-fontobject application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/opentype font/otf font/ttf image/svg+xml image/x-icon text/css text/javascript text/xml;
|
||||
|
||||
##
|
||||
# Virtual Host Configs
|
||||
##
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /etc/nginx/sites-enabled/*;
|
||||
}
|
Loading…
Reference in New Issue
Block a user