Your comments

Adding the trailing slash after ubooquity on the proxy_pass in the sections below fixed it. Thanks!


location /ubooquity/ {

proxy_set_header Host $host;
}

Seems like a lot of people have problems with css working properly with nginx. I enabled access logging for nginx to show what files are being requested when the login page loads. Below is all that gets logged when the web page loads. My themes directory is empty and I do not have a scripts folder. I tried adding root to my nginx conf to tell it where to look as well as some other commands for mime.types and other things I saw people suggesting with no luck.


10.10.10.10 - - [08/May/2016:09:00:49 -0500] "POST /ubooquity/ HTTP/1.1" 200 2402 "https://mydomain.net/ubooquity/"


10.10.10.10 - - [08/May/2016:09:00:49 -0500] "GET /ubooquity/theme/homepage.css HTTP/1.1" 200 2402 "https://mydomain.net/ubooquity/"
10.10.10.10 - - [08/May/2016:09:00:49 -0500] "GET /ubooquity/scripts/tools.js HTTP/1.1" 200 2402 "https://mydomain.net/ubooquity/"
10.10.10.10 - - [08/May/2016:09:00:50 -0500] "GET /ubooquity/scripts/sha256-min.js HTTP/1.1" 200 2402 "https://mydomain.net/ubooquity/"
10.10.10.10 - - [08/May/2016:09:00:50 -0500] "GET /ubooquity/theme/android-chrome-192x192.png HTTP/1.1" 200 2402 "https://mydomain.net/ubooquity/"
10.10.10.10 - - [08/May/2016:09:00:50 -0500] "GET /ubooquity/theme/favicon-96x96.png HTTP/1.1" 200 2402 "https://mydomain.net/ubooquity/"
10.10.10.10 - - [08/May/2016:09:00:50 -0500] "GET /ubooquity/theme/favicon-32x32.png HTTP/1.1" 200 2402 "https://mydomain.net/ubooquity/"
10.10.10.10 - - [08/May/2016:09:00:50 -0500] "GET /ubooquity/theme/favicon-16x16.png HTTP/1.1" 200 2402 "https://mydomain.net/ubooquity/"

Here is the start of the server section and below it is another location that is working without issue. I also do have port forwarding turned on at my external router for ports 80, 443, and 2202 for this testing.


server {

listen 80;

listen 443 ssl;

server_name mydomain.net 192.168.1.103;

ssl_certificate /users/mark/documents/nginx-1.10.0/conf/nginx.crt;

ssl_certificate_key /users/mark/documents/nginx-1.10.0/conf/nginx.key;


location /cp {

proxy_pass https://192.168.1.103:5050/cp/;

proxy_set_header X-Real-IP $remote_addr;

proxy_redirect default;

proxy_set_header Host localhost:5000;

}


Cleared cache with same results. I have also tried with Chrome, Firefox, and Edge browses with same result.


Without nginx using http and no reverse proxy prefix

With nginx using http and reverse proxy prefix set to ubooquity

Without nginx using https and no reverse proxy prefix

With nginx using https and reverse proxy prefix set to ubooquity

  • https://localhost/ubooquity - Does not work. I get a black and white text only page with "Please identify yourself" in the upper left hand corner along with user ID and password boxes and a login button.
  • https://mydomain.net/ubooquity - Does not work. I get a black and white text only page with "Please identify yourself" in the upper left hand corner along with user ID and password boxes and a login button.
  • Let me know if there is anything else I can test to help narrow it down.

    I am having similar issues trying to get https working with nginx. I am able to get https://localhost:2202/ubooquity to work just fine, but I am unable to get https://mydomain.net/ubooquity to work. It does load a black and white text only page with "Please identify yourself" in the upper left hand corner along with user ID and password boxes and a login button. I am unable to login. https://mydomain.net/ubooquity/admin provides the exact results where as https://localhost:2202/ubooquity/admin works as expected.


    Here is the config in my nginx conf file:


    location /ubooquity/ {

    proxy_pass https://localhost:2202/ubooquity;

    proxy_set_header Host $host;
    }

    I also have the Reverse proxy prefix set to ubooquity on the advanced tab of the ubooquity server admin page. I have reloaded the nginx config after my last update to the conf file and restarted the ubooquity server as well. I have https and nginx working successfully for 3 other applications. I checked the ubooquity logs and there are no errors or warnings present.


    I am running jre1.8.0_91, nginx 1.10.0, and ubooquity 1.9.1.


    Any help is appreciated.