- nhttpd: use PORT-defines from yconfig.h instead of "hardcoded" ports

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-09-06 15:22:43 +02:00
committed by Thilo Graf
parent 4097d07942
commit 0738d2af53
2 changed files with 8 additions and 6 deletions

View File

@@ -88,6 +88,7 @@
#undef HTTPD_NAME
#define HTTPD_NAME "nhttpd"
#define HTTPD_STANDARD_PORT 80
#define HTTPD_FALLBACK_PORT 8080
#define HTTPD_MAX_CONNECTIONS 50
#define HTTPD_REQUEST_LOG "/tmp/httpd_log"
#define SSL_PEMFILE HTTPD_CONFIGDIR "/server.pem"