Apache + nginx SSL config for csrf token

Technical Support

Suggested Topics


  • 0 Votes
    39 Posts
    9k Views

    Do you have it all working now?

  • nginx reverse proxy nodebb

    Solved Technical Support
    0 Votes
    4 Posts
    3k Views

    Yes, the url in config.json should be equal to exactly the URL at which you access your site. It usually shouldn't be localhost or an IP address.

  • 0 Votes
    21 Posts
    5k Views

    I upgraded from v1.5.3 to v1.6.1 and the nginx related problem I was having in v1.6.0 is no longer there. Therefore the problem has been resolved but I don't know why.

  • 0 Votes
    2 Posts
    1k Views

    Not trying to be rude, but is there a reason why you can't use Nginx? If you use Apache you lose some of the advantages that it provides to node and websockets: https://www.digitalocean.com/community/tutorials/apache-vs-nginx-practical-considerations

  • 0 Votes
    14 Posts
    8k Views

    What I did was, I installed the lobby app. Some feature are working but most them are not. Like when I tried to change the app setting in admin configuration, I got this Error.

    orbiddenError: invalid csrf token
    at verifytoken (/home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/node_modules/csurf/index.js:269:11)
    at Object.csrf [as handle] (/home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/node_modules/csurf/index.js:97:7)
    at next (/home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/lib/proto.js:174:15)
    at methodOverride (/home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/node_modules/method-override/index.js:79:5)
    at /home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:41:7
    at methodOverride (/home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/node_modules/method-override/index.js:79:5)
    at Object.handle (/home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/lib/middleware/methodOverride.js:39:5)
    at next (/home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/lib/proto.js:174:15)
    at /home/maycel.casilag/Lobby-App-master/node_modules/express/node_modules/connect/node_modules/express-session/index.js:433:7
    at /home/maycel.casilag/Lobby-App-master/sqlite-store.js:65:15

    Please help me because I'm stuck.

    Thank You!
    POST /docusign_test 403 19.811 ms - -