Looking at the ansible-openwisp2 source code, it seems it does not allow to set custom ports: https://github.com/openwisp/ansible-openwisp2/blob/master/templates/nginx/site-conf.j2
I don't think this is something we should recommend, but feel free to modify the source code to achieve what you want, if you really need that. Best regards Federico Capoano On Sat, 13 Dec 2025 at 14:24, Wisse Denis <[email protected]> wrote: > Hello everyone. > how can set custom HTTPS/HTTP ports for the nginx > if this is my playbook.yml > > hosts: openwisp2 > become: "{{ become | default('yes') }}" > roles: > > openwisp.openwisp2 > vars: > openwisp2_default_from_email: "[email protected]" > > -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion, visit > https://groups.google.com/d/msgid/openwisp/5ef46e24-f0f4-4f0f-a840-7fd2a327f51an%40googlegroups.com > <https://groups.google.com/d/msgid/openwisp/5ef46e24-f0f4-4f0f-a840-7fd2a327f51an%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6%2B80h_2PCjCW4YaApDr-Ad-xjw2QRUbpCVWPGyJ3UxbJw%40mail.gmail.com.
