View Single Post
Old 13th March 2013, 00:27
Rockdrala Rockdrala is offline
Senior Member
Join Date: Dec 2007
Posts: 140
Thanks: 7
Thanked 2 Times in 2 Posts

I'm still having problems. I rechecked my settings per the ispconfig setup.

Every time I try to restart NGINX I get:
nginx: [emerg] unknown "https" variable
nginx: configuration file /etc/nginx/nginx.conf test failed
I am specifying that I am using https in my nginx.conf

[root@node1 cgi-bin]# vi /etc/nginx/nginx.conf

http {
## Detect when HTTPS is used
map $scheme $fastcgi_https {
default off;
https on;
include /etc/nginx/mime.types;
default_type application/octet-stream;

log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';

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

sendfile on;
#tcp_nopush on;

#keepalive_timeout 0;
keepalive_timeout 65;

#gzip on;

wtf am I doing wrong? Why do I have to edit apps.vhost. to and comment out
https variables to get my sites backup?

HALP Falko and Timme

Last edited by Rockdrala; 13th March 2013 at 00:32.
Reply With Quote
Sponsored Links