1

Topic: shellinabox

hi all is there a way i can add shell in a box ?

i have added the below template and added this in the include

location  /4 {
    proxy_pass http://127.0.0.1:4200;

    proxy_connect_timeout 3540;
    proxy_send_timeout 3540;
    proxy_read_timeout 3540;
}

however it doesnt work sad i normall use shellinabox with apache but as i have to use ngincx for iredmail i would like to try this out..

thanks

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by maughanorama 2019-06-18 06:38:57)

Re: shellinabox

maughanorama wrote:

hi all is there a way i can add shell in a box ?

i have added the below template and added this in the include

location  /4 {
    proxy_pass http://127.0.0.1:4200;

    proxy_connect_timeout 3540;
    proxy_send_timeout 3540;
    proxy_read_timeout 3540;
}

however it doesnt work sad i normall use shellinabox with apache but as i have to use ngincx for iredmail i would like to try this out..
sorry i should also say that theres no errors on restart of nginx , when i goto https://127.0.0.1/4 it says does not exist ??
thanks

--------------------******************** UPDATE******************--------------------------

i have this working if i use location / however i would like location /40 but this does not work like apache

--------------------*******************UPDATE********************---------------------------

FIXED   if anyone cares u most close the locations .. lol i.e. location /shell/