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

agnos.is Forums

  1. Home
  2. Tech
  3. How to modify the "url" item in config.json?

How to modify the "url" item in config.json?

Scheduled Pinned Locked Moved Tech
9 Posts 3 Posters 40 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.
  • xiaoye@community.nodebb.orgX This user is from outside of this forum
    xiaoye@community.nodebb.orgX This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    When I initially installed NodeBB, I filled in the url in the form of IP + port number. Now I want to change it. How can I do that?

    1 Reply Last reply
    0
    • baris@community.nodebb.orgB This user is from outside of this forum
      baris@community.nodebb.orgB This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      Navigate to nodebb folder and edit config.json with a text editor.

      1 Reply Last reply
      0
      • xiaoye@community.nodebb.orgX This user is from outside of this forum
        xiaoye@community.nodebb.orgX This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        I'm using Docker to deploy NodeBB. Where is the path of config.json generally?

        1 Reply Last reply
        0
        • xiaoye@community.nodebb.orgX This user is from outside of this forum
          xiaoye@community.nodebb.orgX This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          @baris I have used Docker to deploy NodeBB. What is the general path of the config.json file?

          1 Reply Last reply
          0
          • baris@community.nodebb.orgB This user is from outside of this forum
            baris@community.nodebb.orgB This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            Should be /usr/src/app

            1 Reply Last reply
            0
            • xiaoye@community.nodebb.orgX This user is from outside of this forum
              xiaoye@community.nodebb.orgX This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              image.png

              1 Reply Last reply
              0
              • xiaoye@community.nodebb.orgX This user is from outside of this forum
                xiaoye@community.nodebb.orgX This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                @xiaoye The config.json doesn't exist.

                1 Reply Last reply
                0
                • xiaoye@community.nodebb.orgX This user is from outside of this forum
                  xiaoye@community.nodebb.orgX This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  I found the config.json in /opt/config, but I encountered the following problems when I edited it.

                  image.png

                  1 Reply Last reply
                  0
                  • astro-what@community.nodebb.orgA This user is from outside of this forum
                    astro-what@community.nodebb.orgA This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

                    @xiaoye said in How to modify the "url" item in config.json?:
                    > I found the config.json in /opt/config, but I encountered the following problems when I edited it.
                    >

                    unusual, nano or vi is normally installed on most versions of linux.
                    odds are you need to install it then if it is not showing up.

                    Debian/Ubuntu base system
                    sudo apt install nano
                    or
                    sudo apt install vim

                    for Redhat based
                    sudo dnf install nano
                    or
                    sudo dnf install vim

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

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