Welcome! Log In Create A New Profile

Advanced

anyterm with nginx

Posted by BbT0n 
anyterm with nginx
May 26, 2010 07:07AM
Hi all,

I find a nice soft for have a shell access in webpage !! [b]Anyterm[/b]

http://anyterm.org/

It run with the supplied webserver, but it's not secure. All people can access to the shell, whithout identification.

[code]
anytermd -p 7777 --user=user
[/code]


They prupose a method with mod_proxy of apache2.

Nginx could make the same fonction ? Because i'm still newbie with the story of proxy and reverse-proxy :)

For Apache:
[code]
<VirtualHost *:443>

<Location /anyterm>

# When someone visits /anyterm they'll be proxied to
# Anyterm on port 7676. ProxyPass http://localhost:7777 ttl=60
# There are various parameters that can appear at the end of the
# ProxyPass directive to control the maximum number of connections
# and so on. See the Apache documentation.

ProxyPassReverse http://localhost:7676

# Allow only authorised users AuthType Basic AuthName "example.com"
# More Auth directives, depending on where your
# usernames & passwords are stored. require valid-user

</Location>

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/example.com.pem

</VirtualHost>
[/code]

Nginx work fine with php-fpm, multihost, https, mod-H264. Perfect

Thx a lot !
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready