mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-03-31 06:24:18 -04:00
finalize
This commit is contained in:
@@ -64,9 +64,9 @@ server {
|
|||||||
fastcgi_split_path_info ^(.+\.php)(/.+)\$;
|
fastcgi_split_path_info ^(.+\.php)(/.+)\$;
|
||||||
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
|
fastcgi_pass unix:/run/php/php8.3-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
|
||||||
fastcgi_param PATH_INFO \$fastcgi_path_info;
|
fastcgi_param PATH_INFO \$fastcgi_path_info;
|
||||||
include fastcgi_params;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.(jpg|jpeg|gif|css|png|js|ico|woff|woff2)\$ {
|
location ~* \.(jpg|jpeg|gif|css|png|js|ico|woff|woff2)\$ {
|
||||||
@@ -83,6 +83,7 @@ ln -sf /etc/nginx/sites-available/yourls /etc/nginx/sites-enabled/yourls
|
|||||||
rm -f /etc/nginx/sites-enabled/default
|
rm -f /etc/nginx/sites-enabled/default
|
||||||
$STD nginx -t
|
$STD nginx -t
|
||||||
systemctl enable -q --now nginx
|
systemctl enable -q --now nginx
|
||||||
|
systemctl reload nginx
|
||||||
msg_ok "Configured Nginx"
|
msg_ok "Configured Nginx"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
|
|||||||
Reference in New Issue
Block a user