proxy_pass http://$server_addr:8080;
proxy_pass https://$server_addr:8081;
CONFIGURATION ERROR
config.inc.php was not found.
Please read the INSTALL instructions!
chmod 644 /var/www/html/roundcube/[COLOR=#333333]config.inc.php[/COLOR]
-r--r----- 1 webapps apache 4503 Oct 1 03:46 /var/www/html/roundcube/config/config.inc.php
string(47) "uid=502(admin) gid=503(admin) groups=503(admin)"
<?php
var_dump(exec('id'));
[root@server custombuild]# ./build options | egrep "php|nginx|apache" -i
Apache: 2.4.10
Nginx (reverse proxy): 1.6.2
PHP (default): 5.4 as fastcgi
PHP (additional): 5.5 as fastcgi
No need to create configs manually. Directadmin and custombuild care of all the needed files for you. Everytime you add/rename/delete domain they will catch it and update configurations.
server {
listen 1.1.1.1 2.2.2.2 3.3.3.3:80;
listen 127.0.0.1:80;
#listen [::1]:80;
server_name $hostname 1.1.1.1 2.2.2.2 3.3.3.3;
root /var/www/html;
index index.html index.htm index.php;
location / {
access_log off;
proxy_pass http://1.1.1.1 2.2.2.2 3.3.3.3:8080;
proxy_set_header X-Client-IP $remote_addr;
proxy_set_header X-Accel-Internal /nginx_static_files;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
location /nginx_static_files/ {
access_log /var/log/nginx/access_log_proxy;
alias /var/www/html/;
internal;
}
# deny access to .htaccess and .user.ini files
location ~ /(\.ht|\.user\.ini) {
deny all;
}
include /etc/nginx/nginx-info.conf;
include /etc/nginx/webapps.conf;
}
grep -r -l -m1 '^status=server$' /usr/local/directadmin/data/admin/ips | cut -d/ -f8
I am getting the following error:
What I tried to solve it:
- I followed this article: http://help.directadmin.com/item.php?id=242
- I checked the DNS
- I restarted the services
- I recreated the domain