• Home
  • Categories
  • Recent
  • Popular
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Default
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Quartz
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Slate
  • Solar
  • Superhero
  • Vapor
Collapse

Community

N

Niinetan

@Niinetan
About
Posts
1
Topics
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

    Excessive "invalid csrf token" on Login and Register
  • N Niinetan

    @baris @genesisx
    It's seemed nginx to be blamed.

    nginx config

    server {
        server_name balabala.com;
        balabala
        balbalba
    }
    

    If url of Nodebb config is set to your server ip

    "url": "http://111.111.111.111",
    

    and nginx conf stay the same.

    Visit http://111.111.111.111, everything works well.

    However, if url of Nodebb config is set to your domian

    "url": "http://balabala.com",
    

    and nginx conf stay the same.

    Visit http://balabala.com, then "forbidden" comes out when register, "invalid csrf token" in ACP log.

  • 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
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.