nokonoko
|
946c385baf
|
nginx examples
scaled down
|
2021-06-23 13:19:54 +02:00 |
|
nokonoko
|
9983c2dc93
|
better nginx config
File download domain should not use HTTP/2, HTTP/1 is usually a tad faster at delivering downloads.
|
2021-06-23 13:13:08 +02:00 |
|
Eric Johansson (neku)
|
1f6cac06b6
|
Update X.Y.conf
|
2021-06-22 15:46:13 +02:00 |
|
Ryanll8798
|
a189f9a329
|
Update X.Y.conf
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;
ssl_buffer_size 2k;
ssl_session_tickets off;
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)$ {
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;
}
}
|
2021-06-19 16:11:45 -04:00 |
|
Eric Johansson (neku)
|
c367c9388c
|
Update nginx.conf
|
2021-06-10 11:18:05 +02:00 |
|
Eric Johansson (neku)
|
50d2ae5660
|
Update X.Y.conf
|
2021-06-06 22:35:22 +02:00 |
|
Eric Johansson (neku)
|
bbd7acc88f
|
Update X.Y.conf
|
2021-06-06 20:48:03 +02:00 |
|
Eric Johansson (neku)
|
9ed3650ffb
|
Update nginx.conf
|
2021-06-06 19:47:50 +02:00 |
|
Eric Johansson (neku)
|
e9d9f73c92
|
Update X.Y.conf
|
2021-06-06 19:45:19 +02:00 |
|
Eric Johansson (neku)
|
264033d188
|
Update X.Y.conf
|
2021-06-06 19:38:55 +02:00 |
|
nokonoko
|
aeb1654c60
|
update
|
2021-06-05 16:26:38 +02:00 |
|
nokonoko
|
b1b2f99594
|
update nginx configs
|
2021-06-05 16:25:04 +02:00 |
|
nokonoko
|
2b1a9764d9
|
add nginx example configs
|
2021-06-05 16:23:24 +02:00 |
|
nokonoko
|
89c544a9e8
|
add nginx example confs
|
2021-06-05 16:19:47 +02:00 |
|