Skip to content

Running Anubis with HTTPS on Windows Server? #625

Closed
@MichaelAgarkov

Description

@MichaelAgarkov

How can I setup Anubis to use HTTPS on a Windows Server? Is there a way to point it to the certificate and key files or setting up a reverse proxy in IIS that will make it work?
Thanks in advance!

Activity

MichaelAgarkov

MichaelAgarkov commented on Jun 6, 2025

@MichaelAgarkov
Author

nginx is available on Windows and it can be done like this, nvm.

Xe

Xe commented on Jun 7, 2025

@Xe
Contributor

I also admit that I haven't done any testing on Windows because I can't afford a Windows Server license. If this really matters to you, please open a ticket.

MichaelAgarkov

MichaelAgarkov commented on Jun 7, 2025

@MichaelAgarkov
Author

You can get an evaluation version of Windows Server, also Anubis compiles fine for Windows in MSYS2 with mingw-w64-go.

HinataNatsumi

HinataNatsumi commented on Jun 10, 2025

@HinataNatsumi

I also have managed to make anubis work on an Windows nginx server and can confirm it works fine. Thanks to @MichaelAgarkov for the help.

I am putting my findings here in the hopes that this will be of help to others:

1. Compile Windows executable binary of anubis from anubis-src-vendor-npm by running make prebaked-build on a Git Bash.

2. Run anubis.exe with -help for a usage help. Run anubis.exe with any settings that you might need, such as -use-remote-address.

3. (for nginx Windows) Configure nginx.conf: In the front server, set listen 443 ssl;, and location / { proxy_pass http://anubis/; }. Insert ssl and other reverse proxy configuration.

4. Create a block upstream anubis { server 127.0.0.1:8923; }. Create a backend server at listen 127.0.0.1:3923; and put your server configuration in that block.

5. Confirm anubis is working by accessing your server from another network.

Thank you for the anubis, @Xe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @Xe@HinataNatsumi@MichaelAgarkov

        Issue actions

          Running Anubis with HTTPS on Windows Server? · Issue #625 · TecharoHQ/anubis