This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.


How do I run SecureAnyBox on standard ports

Eric Belcher
on 9/6/17, 7:55 AM 2,076 views

With the default port of 8843, I want users to be able to access the software using the standard 443 (https) port? How can I do this?


Eric Belcher

--Eric Belcher--
| 3 1 2
REDBANK, Australia
--Eric Belcher--
Eric Belcher
On 9/6/17, 7:59 AM

It recommended that a proxy server such as nginx be used to face the secureanybox service to the public on standard ports. Nginx is available for many platforms and is included in many Linux distributions. Below is a sample configuration for a virtual host using NgINX.

server {
        listen       80;
        server_name  [sab.publicdomain.net];
        access_log  /var/log/www/[sab.publicdomain.net].access.log; 
        error_log  /var/log/www/[sab.publicdomain.net].error.log error;
        rewrite ^ https://$http_host$request_uri? permanent;    # force redirect http to https
        index  index.html index.htm; 
    server {
        listen 443;
        ssl on;
        ssl_certificate /etc/ssl/servercerts/[publicdomain.net].chained.crt;        # path to your cacert.pem
        ssl_certificate_key /etc/ssl/servercerts/[publicdomain.net]_Private.key;    # path to your privkey.pem
        server_name [sab.publicdomain.net];                    #Domain Name
        proxy_set_header X-Forwarded-For $remote_addr;

        add_header Strict-Transport-Security "max-age=31536000; includeSubdomains";
        server_tokens off;

        location / {
            client_max_body_size 128K;
            proxy_pass https://[sab.localserver.net:8843];
            proxy_redirect off;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;

Keep Informed

About This Community

Secure store for passwords, certificates and any documents with real sharing and audit. Read Guidelines

Question tools

1 follower(s)


Asked: 9/6/17, 7:55 AM
Seen: 2076 times
Last updated: 9/6/17, 7:59 AM