Welcome! Log In Create A New Profile


Re: Location

January 11, 2019 01:51PM
Thanks so much for replying. Below is the block and upstream entry. Also, let's say without NGINX I bring up the site at https://mysite.domain.com/webaccess, when I click on an image, the url is https://mysite.domain.com/name_of_image.

upstream devapp {

server {
listen 443 ssl http2 default_server;
server_tokens off;
more_clear_headers Server;
server_name www.mydomain.com;
ssl on;
ssl_certificate ssl/certificate.crt;
ssl_certificate_key ssl/www.mydomain.com.key;
ssl_dhparam ssl/dhparams.pem;
ssl_ecdh_curve secp384r1;
ssl_stapling on;
ssl_stapling_verify on;
ssl_trusted_certificate ssl/certificate.crt;
resolver valid=300s;
resolver_timeout 10s;
ssl_protocols TLSv1.3 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 1h;
ssl_session_tickets off;
add_header Strict-Transport-Security "max-age=31536000;includeSubDomains" always;
access_log /var/log/nginx/access.log main;
log_not_found on;

location /webaccess/ {
proxy_pass https://devapp;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
add_header X-Frame-Options SAMEORIGIN;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection "1; mode=block";
add_header Strict-Transport-Security "max-age=31536000;includeSubDomains" always;
Subject Author Posted


petrosetta January 11, 2019 11:35AM

Re: Location

basti January 11, 2019 01:12PM

Re: Location

petrosetta January 11, 2019 01:51PM

Re: Location

basti January 11, 2019 02:22PM

Re: Location

petrosetta January 11, 2019 02:44PM

Re: Location

basti January 11, 2019 03:24PM

Re: Location

petrosetta January 11, 2019 04:04PM

Re: Location

basti January 12, 2019 11:16AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 113
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready