mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 18:31:52 +00:00
disable gateway timeout
This commit is contained in:
1
Makefile
1
Makefile
@@ -25,6 +25,7 @@ clean:
|
||||
rm -rf patch-db/client/dist
|
||||
|
||||
eos.img: $(EMBASSY_SRC)
|
||||
! test -f eos.img || rm eos.img
|
||||
./build/make-image.sh
|
||||
|
||||
ubuntu.img:
|
||||
|
||||
@@ -12,6 +12,7 @@ server {
|
||||
proxy_request_buffering off;
|
||||
proxy_socket_keepalive on;
|
||||
proxy_http_version 1.1;
|
||||
proxy_read_timeout 1800;
|
||||
|
||||
location /rpc/ {
|
||||
proxy_pass http://127.0.0.1:5959/;
|
||||
|
||||
@@ -12,6 +12,7 @@ server {
|
||||
proxy_request_buffering off;
|
||||
proxy_socket_keepalive on;
|
||||
proxy_http_version 1.1;
|
||||
proxy_read_timeout 1800;
|
||||
|
||||
location /rpc/ {
|
||||
proxy_pass http://127.0.0.1:5959/;
|
||||
|
||||
@@ -12,6 +12,7 @@ server {
|
||||
proxy_request_buffering off;
|
||||
proxy_socket_keepalive on;
|
||||
proxy_http_version 1.1;
|
||||
proxy_read_timeout 1800;
|
||||
|
||||
location /rpc/ {
|
||||
proxy_pass http://127.0.0.1:5959/;
|
||||
|
||||
@@ -43,6 +43,23 @@ pub async fn execute(
|
||||
#[context] ctx: SetupContext,
|
||||
#[arg(rename = "embassy-logicalname")] embassy_logicalname: PathBuf,
|
||||
#[arg(rename = "embassy-password")] embassy_password: String,
|
||||
) -> Result<SetupResult, Error> {
|
||||
match execute_inner(ctx, embassy_logicalname, embassy_password).await {
|
||||
Ok(a) => {
|
||||
log::info!("Setup Successful! Tor Address: {}", a.tor_address);
|
||||
Ok(a)
|
||||
}
|
||||
Err(e) => {
|
||||
log::error!("Error Setting Up Embassy: {}", e);
|
||||
Err(e)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn execute_inner(
|
||||
ctx: SetupContext,
|
||||
embassy_logicalname: PathBuf,
|
||||
embassy_password: String,
|
||||
) -> Result<SetupResult, Error> {
|
||||
let guid =
|
||||
crate::disk::main::create(&ctx.zfs_pool_name, [embassy_logicalname], DEFAULT_PASSWORD)
|
||||
|
||||
Reference in New Issue
Block a user