Karthick K
Karthick K
Explore posts from servers
FFilament
Created by Asmit Nepali on 6/13/2024 in #❓┊help
Action failed notification.
Yes exactly. It should work
9 replies
FFilament
Created by Asmit Nepali on 6/13/2024 in #❓┊help
Action failed notification.
What you can you do it create a extended class of the delete action and then update the code with the notification. Now bind the new delete action to filament delete action. Now it is implemented global level
9 replies
FFilament
Created by Karthick K on 6/13/2024 in #❓┊help
Spatie Media Library on a custom page
Now with an empty array how can i update the data ?
11 replies
FFilament
Created by Karthick K on 6/13/2024 in #❓┊help
Spatie Media Library on a custom page
When I try to access the data in submit method using $this->form->getState() I am always getting an empty array as the result
11 replies
FFilament
Created by Marco "Mint" Introini on 3/4/2024 in #❓┊help
Spatie Media library in Relation Manager
the spatie package table doesn't match with your table. Can you confirm you have another model in the name of Media which is not created by spatie library
9 replies
FFilament
Created by Tazeen on 6/6/2024 in #❓┊help
Edit profile page redirection to the Breeze login page to be prevented
you can always do route:list to find all the routes and their linked controllers
5 replies
FFilament
Created by Tazeen on 6/6/2024 in #❓┊help
Edit profile page redirection to the Breeze login page to be prevented
If you have remove all breeze dependencies why still the breeze login page is visible. Looks something is wrong. Can you recheck it ?
5 replies
RRailway
Created by Karthick K on 1/29/2024 in #✋|help
internal communication in railway not working.
yes
16 replies
RRailway
Created by Karthick K on 1/29/2024 in #✋|help
internal communication in railway not working.
changing it to nginx fixed
16 replies
RRailway
Created by Karthick K on 1/29/2024 in #✋|help
internal communication in railway not working.
do you think nginx:stable-alpine is a problem here ?
16 replies
RRailway
Created by Karthick K on 1/29/2024 in #✋|help
internal communication in railway not working.
i am planning for a load balncer config so i need to run cron job and queue using the same code but different containers
16 replies
RRailway
Created by Karthick K on 1/29/2024 in #✋|help
internal communication in railway not working.
server {
gzip on;
gzip_proxied any;
gzip_types text/plain application/json;
gzip_min_length 1000;

listen 80;
listen [::]:80;
server_name localhost;

root /var/www/public;
index index.php index.html index.htm;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ .php$ {
fastcgi_pass app:9000;
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
fastcgi_read_timeout 150;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /.ht {
deny all;
}

# Healthcheck
location = /health_check {
access_log off;
add_header 'Content-Type' 'application/json';
return 200 '{"status":"UP"}';
}

access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log error;

add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
add_header Referrer-Policy 'same-origin';
}
server {
gzip on;
gzip_proxied any;
gzip_types text/plain application/json;
gzip_min_length 1000;

listen 80;
listen [::]:80;
server_name localhost;

root /var/www/public;
index index.php index.html index.htm;

location / {
try_files $uri $uri/ /index.php?$query_string;
}

#error_page 404 /404.html;

# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ .php$ {
fastcgi_pass app:9000;
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
fastcgi_read_timeout 150;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
location ~ /.ht {
deny all;
}

# Healthcheck
location = /health_check {
access_log off;
add_header 'Content-Type' 'application/json';
return 200 '{"status":"UP"}';
}

access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log error;

add_header Strict-Transport-Security "max-age=31536000; includeSubdomains; preload";
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
add_header Referrer-Policy 'same-origin';
}
docker config
FROM nginx:stable-alpine

# Copy custom configuration file
COPY infra/nginx/default.conf /etc/nginx/conf.d/default.conf
ADD public /var/www/public
FROM nginx:stable-alpine

# Copy custom configuration file
COPY infra/nginx/default.conf /etc/nginx/conf.d/default.conf
ADD public /var/www/public
16 replies
RRailway
Created by Karthick K on 1/29/2024 in #✋|help
internal communication in railway not working.
this is nginx config added
16 replies
RRailway
Created by Karthick K on 1/29/2024 in #✋|help
internal communication in railway not working.
project id : ba101f40-f9ad-4be5-a531-ccc43a641df6
16 replies