Add subdirectory « http-auth » for configuration file.

This commit is contained in:
Chteufleur 2016-09-29 20:18:12 +02:00
parent 88f7537bbd
commit 90269e40e5
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ Or, in order to build the project you can run the command ``go build main.go``.
It will generate a binary that you can run as any binary file.
### Configure
Configure the gateway by editing the ``httpAuth.conf`` file in order to give all XMPP and HTTP server informations. This configuration file has to be placed following the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html).
Configure the gateway by editing the ``httpAuth.conf`` file in order to give all XMPP and HTTP server informations. This configuration file has to be placed following the [XDG specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) (example ``/etc/xdg/http-auth/httpAuth.conf``).
An example of the config file can be found in [the repos](https://git.kingpenguin.tk/chteufleur/HTTPAuthentificationOverXMPP/src/master/httpAuth.conf).
XMPP

View File

@ -17,7 +17,7 @@ import (
const (
Version = "v0.5-dev"
configurationFilePath = "httpAuth.conf"
configurationFilePath = "http-auth/httpAuth.conf"
PathConfEnvVariable = "XDG_CONFIG_DIRS"
DefaultXdgConfigDirs = "/etc/xdg"
)