Skip to content

Commit

Permalink
fix: Nginx settings
Browse files Browse the repository at this point in the history
  • Loading branch information
dogukanoksuz committed Feb 19, 2024
1 parent 41170c6 commit bd7f59a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Getting Main Liman Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
path: package/liman/server

- name: Set up Liman Environment
uses: shivammathur/setup-php@v2
with:
Expand All @@ -18,11 +19,11 @@ jobs:

- name: Restore the Composer cache directory
id: composercache
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v3
run: echo "::set-env name=COMPOSER_CACHE_DIR::$(composer config cache-files-dir)"

- uses: actions/cache@v4
with:
path: ${{ steps.composercache.outputs.dir }}
path: ${{ env.COMPOSER_CACHE_DIR }}
key: ${{ runner.os }}-'8.1'-composer-${{ hashFiles('**/composer.json') }}
restore-keys: ${{ runner.os }}-'8.1'-composer-

Expand Down
1 change: 1 addition & 0 deletions storage/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ server {
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
add_header X-Frame-Options 'SAMEORIGIN';
}

location ~ ^/(?<subpath>(api|eklenti|broadcasting|css|js|hasync|upload|upload_info|fonts|lmn|turkce.json|english.json).*)$ {
Expand Down

0 comments on commit bd7f59a

Please sign in to comment.