[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can Docker/Artanis run on a network server?

From: Nala Ginrut
Subject: Re: Can Docker/Artanis run on a network server?
Date: Wed, 31 Mar 2021 12:19:21 +0800
User-agent: mu4e 1.4.15; emacs 27.1

Hi Mortimer!

Mortimer Cladwell writes:

> Thanks Nala,
> Looking in artanis.conf I see:
> ## = enable | disable | <boolean>
> But you are saying =

It's my bad to forget to update the comment and doc, it accepts hostname
as a string as well.

> What does = enable do? More specifically if I = enable,
> where do I put the host name?

In the current design, if the is not false, then
(current-myhost) will use it instead of host.addr. This may affect
several functions that I don't remember right now, but redirect-to is
one of them.
In redirect-to, as it said in the comment I showed to you, when you call
(redirect-to rc "your_path"), it will generate absolute path like this:

So if the was set, it will use your domain name to replace IP,
this will solve the IP problem between host OS and docker environment.

Best regards.

GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]