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

R

ravhi

@ravhi
Unfollow Follow
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • FOP2 Behind Nginx Proxy SSL
    R ravhi
    Plugins

    Hi, any tutorial to connect FOP2 behind nginx as proxy?

    This is my setup:

    server {
    listen 80;
    server_name xxx.com;
    return 301 https://$server_name$request_uri;
    }

    server {
    listen 443 ssl;
    server_name xxx.com;
    include /etc/nginx/mime.types;
    root /var/www/fop2;
    index index.php index.html index.htm;

    ssl_certificate /etc/ssl/certs/bundle.pem;
    ssl_certificate_key /etc/ssl/certs/bundle.pem;
    
    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }
    
    location ~ \.php$ {
        include fastcgi_params;
        fastcgi_pass 127.0.0.1:9000;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param SCRIPT_NAME $fastcgi_script_name;
    }
    

    }

    and I have setup the SSL in fop2.cfg too :

    ssl_certificate_file=/etc/ssl/certs/xxx.crt
    ssl_certificate_key_file=/etc/certs/xxx.key

    I can open the web but websocket seems error wss://xxx.com:44445

    Logs from F12

    [1709112480782] setvar variable context ok (ok), but not authorized? What to do ?
    VM2479:1 [1709112481725] 1
    VM2479:1 [1709112483352] 2
    VM2479:1 [1709112485358] 3
    VM2479:1 [1709112487361] 4
    VM2479:1 [1709112489356] 5
    VM2479:1 [1709112490360] 6
    VM2479:1 [1709112490361] connectxml
    VM2479:1 [1709112490361] intento conectar web socket en wss://xxx.com:4445
    VM2479:1 [1709112490362] Websocket is not yet ready, wait for it instead of reattempt

  • 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