0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00

add some docs for specifying listen addresses

This commit is contained in:
Alex Kocharin 2015-03-28 17:38:39 +03:00
parent 6d58d5920e
commit 89353f9312

View file

@ -80,15 +80,22 @@ packages:
# if you use nginx with custom path, use this to override links # if you use nginx with custom path, use this to override links
#url_prefix: https://dev.company.local/sinopia/ #url_prefix: https://dev.company.local/sinopia/
# you can specify listen address (or simply a port) # You can specify listen address (or simply a port).
# to listen on INADDR_ANY use 0.0.0.0:4873 # If you add multiple values, sinopia will listen on all of them.
#listen: localhost:4873 #
# Examples:
#
#listen:
# - localhost:4873 # default value
# - http://localhost:4873 # same thing
# - 0.0.0.0:4873 # listen on all addresses (INADDR_ANY)
# - https://example.org:4873 # if you want to use https
# - [::1]:4873 # ipv6
# Configure HTTPS. Set enable to true and supply a key and cert to enable HTTPS. # Configure HTTPS, it is required if you use "https" protocol above.
https: #https:
enable: false # key: path/to/server.key
key: path/to/server.key # cert: path/to/server.crt
cert: path/to/server.crt
# type: file | stdout | stderr # type: file | stdout | stderr
# level: trace | debug | info | http (default) | warn | error | fatal # level: trace | debug | info | http (default) | warn | error | fatal