realdreams
Dabbler
- Joined
- Aug 10, 2012
- Messages
- 12
On 8.3.0 I set web interface to https with non-default port number only and manually removed port 80 rewrite in nginx.conf.
After upgrading to 8.3.1 I noticed nginx.conf didn't have ssl configured. nginx is not even listening on any port other than 80 but port 80 redirects me to https://freenas/account/login/?next=/
I got locked out....
The config is so different from 8.3.0 and I have no clue how the redirect is achieved.... So what can I do now? Thanks.
console says web interface is https://ip:80 This is kinda messed up.......
After upgrading to 8.3.1 I noticed nginx.conf didn't have ssl configured. nginx is not even listening on any port other than 80 but port 80 redirects me to https://freenas/account/login/?next=/
I got locked out....
Code:
/etc/local/nginx# more nginx.conf # # FreeNAS nginx configuration file # user www www; worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; # reserve 1MB under the name 'proxied' to track uploads upload_progress proxied 1m; sendfile on; #tcp_nopush on; client_max_body_size 500m; #keepalive_timeout 0; keepalive_timeout 65; #gzip on; #upload_store /var/tmp/firmware; client_body_temp_path /var/tmp/firmware; server { server_name localhost; listen 0.0.0.0:80; #ssl_session_timeout 5m; #ssl_protocols SSLv2 SSLv3 TLSv1; #ssl_ciphers HIGH:!aNULL:!MD5; #ssl_prefer_server_ciphers on; location / { include fastcgi_params; fastcgi_pass 127.0.0.1:9042; fastcgi_pass_header Authorization; fastcgi_intercept_errors off; fastcgi_read_timeout 10m; #fastcgi_temp_path /var/tmp/firmware; # track uploads in the 'proxied' zone # remember connections for 30s after they finished track_uploads proxied 30s; } location /progress { # report uploads tracked in the 'proxied' zone report_uploads proxied; } location /dojango { alias /usr/local/www/freenasUI/dojango; } location /static { alias /usr/local/www/freenasUI/freeadmin/static; } location /reporting/graphs { alias /var/db/graphs; } #FIXME: get version from freenasUI.settings location /dojango/dojo-media/release/1.8.3 { alias /usr/local/www/dojo; } #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 /usr/local/www/nginx-dist; } include plugins.conf; } }
The config is so different from 8.3.0 and I have no clue how the redirect is achieved.... So what can I do now? Thanks.
console says web interface is https://ip:80 This is kinda messed up.......