14 Commits

Author SHA1 Message Date
Christian Breunig
cecc0f3c32 https: add latest CLI changes 2024-01-08 21:29:11 +01:00
Christian Breunig
2e3510f988 http: T5762: rename "virtual-host listen-port" -> "virtual-host port" 2023-11-22 11:05:25 +01:00
Christian Breunig
12ffd3e638 http: T5762: api: make API socket backend communication the one and only default
Why: Smoketests fail as they can not establish IPv6 connection to uvicorn
backend server.

https://github.com/vyos/vyos-1x/pull/2481 added a bunch of new smoketests.

While debugging those failing, it was uncovered, that uvicorn only listens on
IPv4 connections

vyos@vyos# netstat -tulnp | grep 8080
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 127.0.0.1:8080          0.0.0.0:*               LISTEN      -

As the CLI already has an option to move the API communication from an IP to a
UNIX domain socket, the best idea is to make this the default way of
communication, as we never directly talk to the API server but rather use the
NGINX reverse proxy.
2023-11-21 08:22:39 +01:00
KyleM
44c495b7fd
Update https.rst
"set service https api-restrict virtual-host rtr01.example.com" should be "set service https api-restrict virtual-host rtr01"
2022-07-13 22:20:48 -04:00
Viacheslav Hletenko
a7fab19a17 http-api: Add action reset and socket description 2022-05-30 12:20:44 +03:00
showipintbri
15f41f61bb
Update https.rst
linting correction update
2022-04-12 10:26:56 -04:00
showipintbri
0db3944173
Update https.rst 2022-04-12 10:00:07 -04:00
Robert Göhler
47ecaa02f5
Merge pull request #608 from showipintbri/patch-3
Grammar corrections
2021-09-04 19:22:56 +02:00
showipintbri
b93df1e691
Spelling Corrections 2021-09-02 16:48:50 -04:00
showipintbri
a0df25d7ed
Grammar corrections 2021-09-02 16:46:54 -04:00
rebortg
414f5e5263 HTTP-API: short line 2021-02-28 21:16:16 +01:00
rebortg
a1503a8921 HTTP-API: rewrite and add config multiple commands 2021-02-28 21:12:51 +01:00
rebortg
da08cd126c service: fix lint errors 2020-12-11 16:02:04 +01:00
rebortg
8943fc9f87 arrange services and protocols 2020-11-30 20:53:36 +01:00