0
Subdomain Problem
Hello,
I Setup my website (test.com) ist runs an nodebb Forum. So i want an subdomain super.test.com. I setup a new "Website". But the subdomain shows the nodebb Forum instead the /srv/super.test.com Site. have anybody an idea?
my Config looks like:
#AUTOMATICALLY GENERATED - DO NO EDIT!
server {
listen 80;
server_name super.test.com;
return 302 https://$server_name$request_uri;
}
server {
listen *:433 ssl;
ssl_certificate /etc/letsencrypt/live/super.test.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/super.test.com/privkey.pem;
server_name super.test.com;
access_log /var/log/nginx/super.access.log;
error_log /var/log/nginx/super.error.log;
root /srv/super.test.com;
index index.html index.htm index.php;
ssl on;
ssl_prefer_server_ciphers on;
ssl_protocols TLSv1 TLSv1.2;
ssl_ciphers "EECDH+AES:EDH+AES:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4";
add_header Strict-Transport-Security max-age=15768000;
location ~ [^/]\.php(/|$) {
alias /srv/super.test.com;
fastcgi_index index.php;
include fcgi.conf;
fastcgi_pass unix:/var/run/ajenti-v-php-fcgi-plex-php-fcgi-0.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location / {
alias /srv/super.test.com;
}
}
Customer support service by UserEcho
oh i forgott the Proxy edits ..
location / {
}