zEitEr
Super Moderator
Hello,
another issue detected:
cat /etc/nginx/webapps.hostname.conf
Please fix it.
another issue detected:
Code:
[root@server custombuild]# ./build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 87.xxx.xxx.87 for your server IP
Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
Restarting apache.
Stopping httpd: [ OK ]
Starting httpd:
./build: line 10392: ${NW_HOSTNAME}: ambiguous redirect
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 87.xxx.xxx.87 for your server IP
Using 87.xxx.xxx.87 for your server IP
Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
Restarting nginx.
nginx: [emerg] duplicate location "/phpmyadmin" in /etc/nginx/webapps.hostname.conf:13
nginx: configuration file /etc/nginx/nginx.conf test failed
[root@server custombuild]#
[root@server custombuild]# ./build version
2.0.0-RC7 (rev: 1069)
cat /etc/nginx/webapps.hostname.conf
Code:
location /phpmyadmin {
rewrite ^/* /phpMyAdmin last;
}
location /pma {
rewrite ^/* /phpMyAdmin last;
}
if ($request_method !~ ^(GET|HEAD|POST)$ ) {
return 444;
}
location ~ /(\.ht|\.user\.ini) {
deny all;
}
location /phpmyadmin {
rewrite ^/* /phpMyAdmin last;
}
location /pma {
rewrite ^/* /phpMyAdmin last;
}
if ($request_method !~ ^(GET|HEAD|POST)$ ) {
return 444;
}
location ~ /(\.ht|\.user\.ini) {
deny all;
}
location /phpmyadmin {
rewrite ^/* /phpMyAdmin last;
}
location /pma {
rewrite ^/* /phpMyAdmin last;
}
if ($request_method !~ ^(GET|HEAD|POST)$ ) {
return 444;
}
location ~ /(\.ht|\.user\.ini) {
deny all;
}
location /phpmyadmin {
rewrite ^/* /phpMyAdmin last;
}
location /pma {
rewrite ^/* /phpMyAdmin last;
}
if ($request_method !~ ^(GET|HEAD|POST)$ ) {
return 444;
}
location ~ /(\.ht|\.user\.ini) {
deny all;
}
Please fix it.