Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
TMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CC-IN2P3 Applications team
TMS
Commits
83eef082
Commit
83eef082
authored
5 years ago
by
Cyril L'Orphelin
Browse files
Options
Downloads
Patches
Plain Diff
MAJ add nginx
parent
03b84abf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tms/nginx.conf
+32
-0
32 additions, 0 deletions
tms/nginx.conf
tms/symfony.conf
+25
-0
25 additions, 0 deletions
tms/symfony.conf
with
57 additions
and
0 deletions
tms/nginx.conf
0 → 100644
+
32
−
0
View file @
83eef082
user
www-data
;
worker_processes
4
;
pid
/run/nginx.pid
;
events
{
worker_connections
2048
;
multi_accept
on
;
use
epoll
;
}
http
{
server_tokens
off
;
sendfile
on
;
tcp_nopush
on
;
tcp_nodelay
on
;
keepalive_timeout
15
;
types_hash_max_size
2048
;
include
/etc/nginx/mime.types
;
default_type
application/octet-stream
;
access_log
off
;
error_log
off
;
gzip
on
;
gzip_disable
"msie6"
;
include
/etc/nginx/conf.d/*.conf
;
include
/etc/nginx/sites-enabled/*
;
open_file_cache
max=100
;
client_body_temp_path
/tmp
1
2
;
client_body_buffer_size
256k
;
client_body_in_file_only
off
;
}
daemon
off
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
tms/symfony.conf
0 → 100644
+
25
−
0
View file @
83eef082
server
{
server_name
symfony
.
localhost
;
root
/
var
/
www
/
html
/
tms
/
tms
/
public
;
location
/ {
try_files
$
uri
@
rewriteapp
;
}
location
@
rewriteapp
{
rewrite
^(.*)$ /
index
.
php
/$
1
last
;
}
location
~ ^/
index
\.
php
(/|$) {
fastcgi_pass
php
-
upstream
;
fastcgi_split_path_info
^(.+\.
php
)(/.*)$;
include
fastcgi_params
;
fastcgi_param
SCRIPT_FILENAME
$
document_root
$
fastcgi_script_name
;
fastcgi_param
HTTPS
off
;
}
error_log
/
var
/
log
/
nginx
/
symfony_error
.
log
;
access_log
/
var
/
log
/
nginx
/
symfony_access
.
log
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment