nginx + froxlor Probleme

str0x3r

New Member
Hallo!

Ich habe auf meinem Rootserver heute nginx installiert, da mir der Apache mittlerweile etwas zu lastig ist.

Da SysCP mit nginx allerdings nix anfangen kann, hab ich gleich darauf auch via apt-get froxlor installiert.

Froxlor liegt jetzt in var/www/froxlor, ich kann es allerdings nicht aufrufen. http://ip/froxlor bringt nur eine 403 seite, genauso wie alle anderen Ansurfversuche (IP only etc.).

Meine default - vhost von nginx sieht so aus:

Code:
# You may add here your
# server {
#	...
# }
# statements for each of your virtual hosts

server {
	listen   80;
	server_name  localhost;

	access_log  /var/log/nginx/localhost.access.log;

	location / {
		root   /var/www/froxlor;
		index  index.html index.htm;
	}

	location /doc {
		root   /usr/share;
		autoindex on;
		allow 127.0.0.1;
		deny all;
	}

	location /images {
		root   /usr/share;
		autoindex on;
	}

	#error_page  404  /404.html;

	# redirect server error pages to the static page /50x.html
	#
	error_page   500 502 503 504  /50x.html;
	location = /50x.html {
		root   /var/www/nginx-default;
	}

	# proxy the PHP scripts to Apache listening on 127.0.0.1:80
	#
	#location ~ \.php$ {
		#proxy_pass   http://127.0.0.1;
	#}

	# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
	#
	location ~ \.php$ {
		fastcgi_pass   127.0.0.1:9000;
		fastcgi_index  index.php;
		fastcgi_param  SCRIPT_FILENAME  /var/www$fastcgi_script_name;
		#include       fastcgi_params;
	#}

	# deny access to .htaccess files, if Apache's document root
	# concurs with nginx's one
	#
	#location ~ /\.ht {
		#deny  all;
	#}
}


# another virtual host using mix of IP-, name-, and port-based configuration
#
#server {
#listen   8000;
#listen   somename:8080;
#server_name  46.4.71.78/froxlor;

#location /var/www/froxlor {
#root   html;
#index  index.html index.htm;
#}


# HTTPS server
#
#server {
#listen   443;
#server_name  localhost;

#ssl  on;
#ssl_certificate  cert.pem;
#ssl_certificate_key  cert.key;

#ssl_session_timeout  5m;

#ssl_protocols  SSLv2 SSLv3 TLSv1;
#ssl_ciphers  ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP;
#ssl_prefer_server_ciphers   on;

#location / {
#root   html;
#index  index.html index.htm;
#}
}

Ich habe zuvor noch nie mit nginx gearbeitet und finde mich kaum zurecht, könnt ihr mir helfen?

MfG
str0x3r
 
[warn] 18352#0: server name "x.x.x.x/froxlor" has strange symbols in /etc/nginx/sites-enabled/default:9
nginx.

Das bekomm ich jetzt raus. :/ Schon klar, das selbe Spiel mit der Domain. An welcher stelle soll ich das deiner meinung nach einsetzen?
 
Oh mein gott, bin schon total durcheinander.

Server läuft jetzt wieder, wenn ich im Browser http://ip/froxlor aufrufe gibts nur einen redirect auf localhost.

Redirect suchen ist wohl jetzt angesagt, aber nur wo noch?
 
Back
Top