File tree Expand file tree Collapse file tree 20 files changed +800
-0
lines changed
7/templates/web/nginx/php5-fpm
8/templates/web/nginx/php5-fpm
rhel/7/templates/web/nginx/php-fpm
12.04/templates/web/nginx/php5-fpm
12.10/templates/web/nginx/php5-fpm
13.04/templates/web/nginx/php5-fpm
13.10/templates/web/nginx/php5-fpm
14.04/templates/web/nginx/php5-fpm
14.10/templates/web/nginx/php5-fpm
15.04/templates/web/nginx/php5-fpm Expand file tree Collapse file tree 20 files changed +800
-0
lines changed Original file line number Diff line number Diff line change 1+ server {
2+ listen %ip%:%web_ssl_port%;
3+ server_name %domain_idn% %alias_idn%;
4+ root %sdocroot%;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/%domain%.log combined;
7+ access_log /var/log/nginx/domains/%domain%.bytes bytes;
8+ error_log /var/log/nginx/domains/%domain%.error.log error;
9+
10+ ssl on;
11+ ssl_certificate %ssl_pem%;
12+ ssl_certificate_key %ssl_key%;
13+
14+ types {
15+ text/html html htm shtml php php5;
16+ }
17+
18+ location / {
19+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
20+ expires max;
21+ }
22+ }
23+
24+ error_page 403 /error/404.html;
25+ error_page 404 /error/404.html;
26+ error_page 500 502 503 504 /error/50x.html;
27+
28+ location /error/ {
29+ alias %home%/%user%/web/%domain%/document_errors/;
30+ }
31+
32+ location ~* "/\.(htaccess|htpasswd)$" {
33+ deny all;
34+ return 404;
35+ }
36+
37+ include /etc/nginx/conf.d/phpmyadmin.inc*;
38+ include /etc/nginx/conf.d/phppgadmin.inc*;
39+ include /etc/nginx/conf.d/webmail.inc*;
40+
41+ include %home%/%user%/conf/web/snginx.%domain%.conf*;
42+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen % ip% :% web_port% ;
3+ server_name % domain_idn% % alias_idn% ;
4+ root % docroot% ;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/% domain% .log combined;
7+ access_log /var/log/nginx/domains/% domain% .bytes bytes;
8+ error_log /var/log/nginx/domains/% domain% .error.log error;
9+
10+ types {
11+ text/html html htm shtml php php5;
12+ }
13+
14+ location / {
15+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
16+ expires max;
17+ }
18+ }
19+
20+ error_page 403 /error/404.html;
21+ error_page 404 /error/404.html;
22+ error_page 500 502 503 504 /error/50x.html;
23+
24+ location /error/ {
25+ alias % home% /% user% /web/% domain% /document_errors/;
26+ }
27+
28+ location ~* "/\.(htaccess|htpasswd)$" {
29+ deny all;
30+ return 404;
31+ }
32+
33+ include /etc/nginx/conf.d/phpmyadmin.inc*;
34+ include /etc/nginx/conf.d/phppgadmin.inc*;
35+ include /etc/nginx/conf.d/webmail.inc*;
36+
37+ include %home%/%user%/conf/web/nginx.%domain%.conf*;
38+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen %ip%:%web_ssl_port%;
3+ server_name %domain_idn% %alias_idn%;
4+ root %sdocroot%;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/%domain%.log combined;
7+ access_log /var/log/nginx/domains/%domain%.bytes bytes;
8+ error_log /var/log/nginx/domains/%domain%.error.log error;
9+
10+ ssl on;
11+ ssl_certificate %ssl_pem%;
12+ ssl_certificate_key %ssl_key%;
13+
14+ types {
15+ text/html html htm shtml php php5;
16+ }
17+
18+ location / {
19+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
20+ expires max;
21+ }
22+ }
23+
24+ error_page 403 /error/404.html;
25+ error_page 404 /error/404.html;
26+ error_page 500 502 503 504 /error/50x.html;
27+
28+ location /error/ {
29+ alias %home%/%user%/web/%domain%/document_errors/;
30+ }
31+
32+ location ~* "/\.(htaccess|htpasswd)$" {
33+ deny all;
34+ return 404;
35+ }
36+
37+ include /etc/nginx/conf.d/phpmyadmin.inc*;
38+ include /etc/nginx/conf.d/phppgadmin.inc*;
39+ include /etc/nginx/conf.d/webmail.inc*;
40+
41+ include %home%/%user%/conf/web/snginx.%domain%.conf*;
42+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen % ip% :% web_port% ;
3+ server_name % domain_idn% % alias_idn% ;
4+ root % docroot% ;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/% domain% .log combined;
7+ access_log /var/log/nginx/domains/% domain% .bytes bytes;
8+ error_log /var/log/nginx/domains/% domain% .error.log error;
9+
10+ types {
11+ text/html html htm shtml php php5;
12+ }
13+
14+ location / {
15+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
16+ expires max;
17+ }
18+ }
19+
20+ error_page 403 /error/404.html;
21+ error_page 404 /error/404.html;
22+ error_page 500 502 503 504 /error/50x.html;
23+
24+ location /error/ {
25+ alias % home% /% user% /web/% domain% /document_errors/;
26+ }
27+
28+ location ~* "/\.(htaccess|htpasswd)$" {
29+ deny all;
30+ return 404;
31+ }
32+
33+ include /etc/nginx/conf.d/phpmyadmin.inc*;
34+ include /etc/nginx/conf.d/phppgadmin.inc*;
35+ include /etc/nginx/conf.d/webmail.inc*;
36+
37+ include %home%/%user%/conf/web/nginx.%domain%.conf*;
38+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen %ip%:%web_ssl_port%;
3+ server_name %domain_idn% %alias_idn%;
4+ root %sdocroot%;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/%domain%.log combined;
7+ access_log /var/log/nginx/domains/%domain%.bytes bytes;
8+ error_log /var/log/nginx/domains/%domain%.error.log error;
9+
10+ ssl on;
11+ ssl_certificate %ssl_pem%;
12+ ssl_certificate_key %ssl_key%;
13+
14+ types {
15+ text/html html htm shtml php php5;
16+ }
17+
18+ location / {
19+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
20+ expires max;
21+ }
22+ }
23+
24+ error_page 403 /error/404.html;
25+ error_page 404 /error/404.html;
26+ error_page 500 502 503 504 /error/50x.html;
27+
28+ location /error/ {
29+ alias %home%/%user%/web/%domain%/document_errors/;
30+ }
31+
32+ location ~* "/\.(htaccess|htpasswd)$" {
33+ deny all;
34+ return 404;
35+ }
36+
37+ include /etc/nginx/conf.d/phpmyadmin.inc*;
38+ include /etc/nginx/conf.d/phppgadmin.inc*;
39+ include /etc/nginx/conf.d/webmail.inc*;
40+
41+ include %home%/%user%/conf/web/snginx.%domain%.conf*;
42+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen % ip% :% web_port% ;
3+ server_name % domain_idn% % alias_idn% ;
4+ root % docroot% ;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/% domain% .log combined;
7+ access_log /var/log/nginx/domains/% domain% .bytes bytes;
8+ error_log /var/log/nginx/domains/% domain% .error.log error;
9+
10+ types {
11+ text/html html htm shtml php php5;
12+ }
13+
14+ location / {
15+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
16+ expires max;
17+ }
18+ }
19+
20+ error_page 403 /error/404.html;
21+ error_page 404 /error/404.html;
22+ error_page 500 502 503 504 /error/50x.html;
23+
24+ location /error/ {
25+ alias % home% /% user% /web/% domain% /document_errors/;
26+ }
27+
28+ location ~* "/\.(htaccess|htpasswd)$" {
29+ deny all;
30+ return 404;
31+ }
32+
33+ include /etc/nginx/conf.d/phpmyadmin.inc*;
34+ include /etc/nginx/conf.d/phppgadmin.inc*;
35+ include /etc/nginx/conf.d/webmail.inc*;
36+
37+ include %home%/%user%/conf/web/nginx.%domain%.conf*;
38+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen %ip%:%web_ssl_port%;
3+ server_name %domain_idn% %alias_idn%;
4+ root %sdocroot%;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/%domain%.log combined;
7+ access_log /var/log/nginx/domains/%domain%.bytes bytes;
8+ error_log /var/log/nginx/domains/%domain%.error.log error;
9+
10+ ssl on;
11+ ssl_certificate %ssl_pem%;
12+ ssl_certificate_key %ssl_key%;
13+
14+ types {
15+ text/html html htm shtml php php5;
16+ }
17+
18+ location / {
19+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
20+ expires max;
21+ }
22+ }
23+
24+ error_page 403 /error/404.html;
25+ error_page 404 /error/404.html;
26+ error_page 500 502 503 504 /error/50x.html;
27+
28+ location /error/ {
29+ alias %home%/%user%/web/%domain%/document_errors/;
30+ }
31+
32+ location ~* "/\.(htaccess|htpasswd)$" {
33+ deny all;
34+ return 404;
35+ }
36+
37+ include /etc/nginx/conf.d/phpmyadmin.inc*;
38+ include /etc/nginx/conf.d/phppgadmin.inc*;
39+ include /etc/nginx/conf.d/webmail.inc*;
40+
41+ include %home%/%user%/conf/web/snginx.%domain%.conf*;
42+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen % ip% :% web_port% ;
3+ server_name % domain_idn% % alias_idn% ;
4+ root % docroot% ;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/% domain% .log combined;
7+ access_log /var/log/nginx/domains/% domain% .bytes bytes;
8+ error_log /var/log/nginx/domains/% domain% .error.log error;
9+
10+ types {
11+ text/html html htm shtml php php5;
12+ }
13+
14+ location / {
15+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
16+ expires max;
17+ }
18+ }
19+
20+ error_page 403 /error/404.html;
21+ error_page 404 /error/404.html;
22+ error_page 500 502 503 504 /error/50x.html;
23+
24+ location /error/ {
25+ alias % home% /% user% /web/% domain% /document_errors/;
26+ }
27+
28+ location ~* "/\.(htaccess|htpasswd)$" {
29+ deny all;
30+ return 404;
31+ }
32+
33+ include /etc/nginx/conf.d/phpmyadmin.inc*;
34+ include /etc/nginx/conf.d/phppgadmin.inc*;
35+ include /etc/nginx/conf.d/webmail.inc*;
36+
37+ include %home%/%user%/conf/web/nginx.%domain%.conf*;
38+ }
Original file line number Diff line number Diff line change 1+ server {
2+ listen %ip%:%web_ssl_port%;
3+ server_name %domain_idn% %alias_idn%;
4+ root %sdocroot%;
5+ index index.php index.html index.htm;
6+ access_log /var/log/nginx/domains/%domain%.log combined;
7+ access_log /var/log/nginx/domains/%domain%.bytes bytes;
8+ error_log /var/log/nginx/domains/%domain%.error.log error;
9+
10+ ssl on;
11+ ssl_certificate %ssl_pem%;
12+ ssl_certificate_key %ssl_key%;
13+
14+ types {
15+ text/html html htm shtml php php5;
16+ }
17+
18+ location / {
19+ location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
20+ expires max;
21+ }
22+ }
23+
24+ error_page 403 /error/404.html;
25+ error_page 404 /error/404.html;
26+ error_page 500 502 503 504 /error/50x.html;
27+
28+ location /error/ {
29+ alias %home%/%user%/web/%domain%/document_errors/;
30+ }
31+
32+ location ~* "/\.(htaccess|htpasswd)$" {
33+ deny all;
34+ return 404;
35+ }
36+
37+ include /etc/nginx/conf.d/phpmyadmin.inc*;
38+ include /etc/nginx/conf.d/phppgadmin.inc*;
39+ include /etc/nginx/conf.d/webmail.inc*;
40+
41+ include %home%/%user%/conf/web/snginx.%domain%.conf*;
42+ }
You can’t perform that action at this time.
0 commit comments