Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
gitlab-com
marketo-tools
Commits
1ef2c025
Commit
1ef2c025
authored
Jan 06, 2016
by
Robert Speicher
Browse files
Remove now-unneeded config dir
parent
930f9a11
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/nginx.conf
deleted
100644 → 0
View file @
930f9a11
worker_processes
1
;
daemon
off
;
pid
tmp/nginx
.pid
;
error_log
stderr
;
events
{
worker_connections
1024
;
}
http
{
include
mime.types
;
default_type
application/octet-stream
;
access_log
logs/access
.log
;
sendfile
on
;
#tcp_nopush on;
#keepalive_timeout 0;
keepalive_timeout
65
;
#gzip on;
proxy_temp_path
proxy_temp
;
client_body_temp_path
client_body_temp
;
uwsgi_temp_path
uwsgi_temp
;
fastcgi_temp_path
fastcgi_temp
;
scgi_temp_path
scgi_temp
;
client_max_body_size
0
;
upstream
unicorn_server
{
# TODO (rspeicher): Change path
server
unix:/path/to/app/tmp/sockets/unicorn.sock
fail_timeout=0
;
}
server
{
listen
80
;
server_name
localhost
;
location
/
{
try_files
$uri
@app
;
}
location
@app
{
proxy_redirect
off
;
proxy_set_header
Host
$http_host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
proxy_set_header
X-Forwarded-Proto
$scheme
;
proxy_set_header
X-Frame-Options
SAMEORIGIN
;
proxy_pass
http://unicorn_server
;
}
}
}
config/unicorn.rb
deleted
100644 → 0
View file @
930f9a11
# TODO (rspeicher): Change path
dir
=
"/path/to/app/"
worker_processes
2
working_directory
dir
timeout
30
listen
File
.
join
(
dir
,
%w(tmp sockets unicorn.sock)
),
backlog:
64
pid
File
.
join
(
dir
,
%w(tmp pids unicorn.pid)
)
stderr_path
File
.
join
(
dir
,
%w(log unicorn.stderr.log)
)
stdout_path
File
.
join
(
dir
,
%w(log unicorn.stdout.log)
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment