Skip to content

Different Port for birdnetpi.local #83

Answered by lloydbayley
MueJosh asked this question in Q&A
Discussion options

You must be logged in to vote

You'll have to edit (with sudo) the Caddyfile which is located at /etc/caddy/Caddyfile
The original will look like this:

http:// {
  root * /home/pi/BirdSongs/Extracted
  file_server browse
  handle /By_Date/* {
    file_server browse
  }
  handle /Charts/* {
    file_server browse
  }
  reverse_proxy /stream localhost:8000
  php_fastcgi unix//run/php/php-fpm.sock
  reverse_proxy /log* localhost:8080
  reverse_proxy /stats* localhost:8501
  reverse_proxy /terminal* localhost:8888
}

Insert the port you want at the top, for example, to use 7171, use:

http://:7171 {
  root * /home/serveradmin/BirdSongs/Extracted
  file_server browse
  handle /By_Date/* {
    file_server browse
  }
  handle …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@MueJosh
Comment options

@lloydbayley
Comment options

Answer selected by MueJosh
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@MueJosh
Comment options

@twostar01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants