Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Plugins
  3. fop2 user access behind proxy nginx

fop2 user access behind proxy nginx

Scheduled Pinned Locked Moved Plugins
3 Posts 3 Posters 511 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    N
    nemesi
    wrote on last edited by
    #1

    Dear all,
    I tried to publish the fop2 user access online behind a nginx proxy. Here my configuration:

    server {
    server_name xxx.yyyyyyyy.zzz;

    		location / {
        		proxy_set_header Upgrade $http_upgrade;
        		proxy_set_header Connecion "upgrade"; 
       			proxy_pass http://local_ip_address/fop2/;
        		proxy_buffering off;
        		client_max_body_size 0;
        		proxy_connect_timeout  3600s;
        		proxy_read_timeout  3600s;
        		proxy_send_timeout  3600s;
        		send_timeout  3600s;
    

    }

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/xxx.yyyyyyyy.zzz/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/xxx.yyyyyyyy.zzz/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
    

    }server {
    if ($host = xxx.yyyyyyyy.zzz) {
    return 301 https://$host$request_uri;
    } # managed by Certbot

           listen 80;
           server_name xxx.yyyyyyyy.zzz;
    return 404; # managed by Certbot
    

    }

    With this configuration I'm able to reach the fop2 page from the domain xxx.yyyyyyyy.zzz but then it blocks before the login page:
    **One moment please
    Connecting to server, attempt number : 1
    **
    Do you have any suggestion? Thank you in advance for your help 🙂

    1 Reply Last reply
    0
    • G
      G
      GriF
      wrote on last edited by
      #2

      Hi.
      I have the same problem ((
      Did you solve this?

      1 Reply Last reply
      0
      • E
        E
        Edi
        wrote on last edited by
        #3

        you need to allow port 4445

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups