njoguamos
njoguamos
RRailway
Created by njoguamos on 7/5/2023 in #✋|help
Volume window won't close
Clearing the browser cache has fixed the issue.
6 replies
RRailway
Created by njoguamos on 7/5/2023 in #✋|help
Volume window won't close
f7a57248-d8a0-49e3-8a00-34ce8674925c
6 replies
RRailway
Created by Yeraldi29#2900 on 6/20/2023 in #✋|help
I am deploying a web app with laravel
This is a permission-related error. Add the following to your build process.
"sudo chown -R $USER:$USER storage bootstrap public",
"sudo chmod -R 755 storage bootstrap public",
"sudo chmod -R 755 bootstrap/cache/",
"sudo chown -R $USER:$USER storage bootstrap public",
"sudo chmod -R 755 storage bootstrap public",
"sudo chmod -R 755 bootstrap/cache/",
This can be done in nixpack.json or from your dashboard.
19 replies
RRailway
Created by kuzusama. on 6/8/2023 in #✋|help
Application failed to respond
11 replies
RRailway
Created by kuzusama. on 6/8/2023 in #✋|help
Application failed to respond
11 replies
RRailway
Created by kuzusama. on 6/8/2023 in #✋|help
Application failed to respond
11 replies
RRailway
Created by kuzusama. on 6/8/2023 in #✋|help
Application failed to respond
Share your repo.
11 replies
RRailway
Created by Eureka on 5/31/2023 in #✋|help
Mixed Content LARAVEL PROJECT
Try adding this to your AppServiceProvider boot() Method.
if (app()->environment('production')) {
\Illuminate\Support\Facades\URL::forceScheme('https');
}
if (app()->environment('production')) {
\Illuminate\Support\Facades\URL::forceScheme('https');
}
10 replies
RRailway
Created by renatoalvarez on 6/4/2023 in #✋|help
Laravel queue work does'nt work
You need to create multiple instances of your application, each with a single startup command. This give you the benefits of viewing logs for each instance.
8 replies
RRailway
Created by luag2124 on 6/4/2023 in #✋|help
Set a Cron Job in Laravel
27 replies
RRailway
Created by njoguamos on 6/9/2023 in #✋|help
Can't delete an invoice item that is attached to an invoice that is no longer editable
f7a57248-d8a0-49e3-8a00-34ce8674925c
7 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
Try deploying your app using docker instead of Nixpacks.
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
Are you running Laravel 6?
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
Apologies for giving the wrong file name. It is unfortunate that modifying the nginx.template.conf did not work for you. All the best.
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
19 replies
RRailway
Created by nilsuria on 5/14/2023 in #✋|help
How can I modify the nginx configuration in Railway?
Create a nginx.template.config file in the root of your application. Add the content as follows:
worker_processes 5;
daemon off;

worker_rlimit_nofile 8192;

events {
worker_connections 4096; # Default: 1024
}

http {
include $!{nginx}/conf/mime.types;
index index.html index.htm index.php;

default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] $status '
'"$request" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /dev/stdout;
error_log /dev/stdout;
sendfile on;
tcp_nopush on;
server_names_hash_bucket_size 128; # this seems to be required for some vhosts


client_max_body_size 20M; # Modify this to fit you needs

server {
listen ${PORT};
listen [::]:${PORT};
server_name localhost;

$if(NIXPACKS_PHP_ROOT_DIR) (
root ${NIXPACKS_PHP_ROOT_DIR};
) else (
root /app;
)

add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";

index index.php;

charset utf-8;

$if(IS_LARAVEL) (
location / {
try_files $uri $uri/ /index.php?$query_string;
}
) else ()

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }

$if(IS_LARAVEL) (
error_page 404 /index.php;
) else ()

location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include $!{nginx}/conf/fastcgi_params;
include $!{nginx}/conf/fastcgi.conf;
}

location ~ /\.(?!well-known).* {
deny all;
}
}
}
worker_processes 5;
daemon off;

worker_rlimit_nofile 8192;

events {
worker_connections 4096; # Default: 1024
}

http {
include $!{nginx}/conf/mime.types;
index index.html index.htm index.php;

default_type application/octet-stream;
log_format main '$remote_addr - $remote_user [$time_local] $status '
'"$request" $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /dev/stdout;
error_log /dev/stdout;
sendfile on;
tcp_nopush on;
server_names_hash_bucket_size 128; # this seems to be required for some vhosts


client_max_body_size 20M; # Modify this to fit you needs

server {
listen ${PORT};
listen [::]:${PORT};
server_name localhost;

$if(NIXPACKS_PHP_ROOT_DIR) (
root ${NIXPACKS_PHP_ROOT_DIR};
) else (
root /app;
)

add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";

index index.php;

charset utf-8;

$if(IS_LARAVEL) (
location / {
try_files $uri $uri/ /index.php?$query_string;
}
) else ()

location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }

$if(IS_LARAVEL) (
error_page 404 /index.php;
) else ()

location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include $!{nginx}/conf/fastcgi_params;
include $!{nginx}/conf/fastcgi.conf;
}

location ~ /\.(?!well-known).* {
deny all;
}
}
}
19 replies