Skip to content

Commit

Permalink
hostname.
Browse files Browse the repository at this point in the history
  • Loading branch information
dasscheman committed Dec 24, 2024
1 parent dd877c1 commit 25bfd39
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-Laravel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: [ "master", "develop", "feature/*"]
pull_request:
branches: [ "master", "develop"]
branches: [ "master"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-Nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
push:
branches: [ "master", "develop", "feature/*"]
pull_request:
branches: [ "master", "develop"]
branches: [ "master"]
jobs:
build:
runs-on: ubuntu-latest
Expand Down
10 changes: 6 additions & 4 deletions openshift/vhost.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
server {
listen 8080;
listen [::]:8080;
server_name app.openshift.fss.uu.nl;
## server_name app.openshift.fss.uu.nl;
server_name sample-app;

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

access_log /var/log/nginx/access.log;
Expand All @@ -16,9 +17,10 @@ server {
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_index index.php;
fastcgi_pass sample-app:9000;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}

0 comments on commit 25bfd39

Please sign in to comment.