• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • 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
v3.5.2 Latest
Buy Hosting

Recently logged in IPs issue

Scheduled Pinned Locked Moved Technical Support
3 Posts 2 Posters 1.1k 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.
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    wrote on last edited by
    #1

    I am getting this on my test install, under use profile (of course):

    Recently logged in IPs

    My nginx.conf proxy:

        location / {
          proxy_set_header X-Real-IP $remote_addr;
          proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header Host $http_host;
          proxy_set_header X-NginX-Proxy true;
            
          proxy_pass http://REAL.IP.OF.SERVER.HERE:4567/;
          proxy_redirect off;
        
          # Socket.IO Support
          proxy_http_version 1.1;
          proxy_set_header Upgrade $http_upgrade;
          proxy_set_header Connection "upgrade";
        }
    

    And my config.json is:

    {
        "url": "http://REAL.IP.OF.SERVER.HERE:4567",
        "base_url": "http://REAL.DOMAIN.HERE",
        "use_port": "false",
        "secret": "SOME-SECRET",
        "database": "redis",
        "redis": {
            "host": "127.0.0.1",
            "port": "6379",
            "password": "A-PASSWORD-HERE",
            "database": "0"
        }
    }
    
    

    Any tips?

    1 Reply Last reply
    0
  • FastidiousF Offline
    FastidiousF Offline
    Fastidious
    wrote on last edited by Fastidious
    #2

    Got it to work by changing my nginx.conf line:

    proxy_pass http://REAL.IP.OF.SERVER.HERE:4567/;
    

    to:

    proxy_pass http://127.0.0.1:4567/;
    

    And my config.json to:

    {
        "url": "http://REAL.DOMAIN.HERE",
        "base_url": "http://REAL.DOMAIN.HERE",
        "use_port": "false",
        "secret": "SOME-SECRET",
        "database": "redis",
        "redis": {
            "host": "127.0.0.1",
            "port": "6379",
            "password": "A-PASSWORD-HERE",
            "database": "0"
        }
    }
    
    drewD 1 Reply Last reply
    1
  • drewD Offline
    drewD Offline
    drew
    replied to Fastidious on last edited by
    #3

    @Fastidious Thanks for sharing the fix.

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development