mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
Minor fix for install-rocket-nginx.sh
This commit is contained in:
parent
91ac345b3e
commit
66162375fd
4 changed files with 11 additions and 6 deletions
|
@ -6,11 +6,13 @@ server {
|
|||
ssl_certificate_key %ssl_key%;
|
||||
error_log /var/log/%web_system%/domains/%domain%.error.log error;
|
||||
|
||||
root %sdocroot%;
|
||||
# Rocket-Nginx configuration
|
||||
include rocket-nginx/conf.d/default.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass https://%ip%:%web_ssl_port%;
|
||||
location ~* ^.+\.(%proxy_extentions%)$ {
|
||||
root %sdocroot%;
|
||||
access_log /var/log/%web_system%/domains/%domain%.log combined;
|
||||
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
|
||||
expires max;
|
||||
|
@ -37,5 +39,4 @@ server {
|
|||
|
||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||
include %home%/%user%/conf/web/s%proxy_system%.%domain%.conf*;
|
||||
include rocket-nginx/conf.d/default.conf;
|
||||
}
|
||||
|
|
|
@ -5,5 +5,4 @@ server {
|
|||
rewrite ^(.*) https://%domain_idn%$1 permanent;
|
||||
}
|
||||
include %home%/%user%/conf/web/*nginx.%domain_idn%.conf_letsencrypt;
|
||||
include rocket-nginx/conf.d/default.conf;
|
||||
}
|
||||
|
|
|
@ -6,10 +6,13 @@ server {
|
|||
ssl_certificate_key %ssl_key%;
|
||||
error_log /var/log/%web_system%/domains/%domain%.error.log error;
|
||||
|
||||
root %sdocroot%;
|
||||
# Rocket-Nginx configuration
|
||||
include rocket-nginx/conf.d/default.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass https://%ip%:%web_ssl_port%;
|
||||
location ~* ^.+\.(%proxy_extentions%)$ {
|
||||
root %sdocroot%;
|
||||
access_log /var/log/%web_system%/domains/%domain%.log combined;
|
||||
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
|
||||
expires max;
|
||||
|
|
|
@ -3,10 +3,13 @@ server {
|
|||
server_name %domain_idn% %alias_idn%;
|
||||
error_log /var/log/%web_system%/domains/%domain%.error.log error;
|
||||
|
||||
root %docroot%;
|
||||
# Rocket-Nginx configuration
|
||||
include rocket-nginx/conf.d/default.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://%ip%:%web_port%;
|
||||
location ~* ^.+\.(%proxy_extentions%)$ {
|
||||
root %docroot%;
|
||||
access_log /var/log/%web_system%/domains/%domain%.log combined;
|
||||
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
|
||||
expires max;
|
||||
|
@ -32,5 +35,4 @@ server {
|
|||
disable_symlinks if_not_owner from=%docroot%;
|
||||
|
||||
include %home%/%user%/conf/web/nginx.%domain%.conf*;
|
||||
include rocket-nginx/conf.d/default.conf;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue