Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add documentation to allow access by IP address rather than hostname. #66

Open
dalf opened this issue Aug 17, 2022 · 0 comments
Open

add documentation to allow access by IP address rather than hostname. #66

dalf opened this issue Aug 17, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@dalf
Copy link
Member

dalf commented Aug 17, 2022

It seems some users want to use an IP address rather an hostname.

Currently this fail:

searxng-docker/.env

Lines 6 to 7 in f2f9e2a

# SEARXNG_HOSTNAME=<host>
# LETSENCRYPT_EMAIL=<email>

- SEARXNG_HOSTNAME=${SEARXNG_HOSTNAME:-http://localhost:80}
- SEARXNG_TLS=${LETSENCRYPT_EMAIL:-internal}

{$SEARXNG_HOSTNAME} {
log {
output discard
}
tls {$SEARXNG_TLS}

The last block looks something like

 10.0.0.1 { 
   log { 
         output discard 
   } 
  
   tls internal # <--- this line should be here for an IP address

I'm not sure if all the setup can be done in .env, but we can add documentation to remove the tls {$SEARXNG_TLS} line.

@dalf dalf added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant