17 lines
254 B
Plaintext
17 lines
254 B
Plaintext
|
server {
|
||
|
listen 9999;
|
||
|
server_name _;
|
||
|
|
||
|
location ~ /ceph(.*)$ {
|
||
|
set $path $1;
|
||
|
|
||
|
content_by_lua_file "/etc/nginx/lua/swift.lua";
|
||
|
|
||
|
error_page 404 @404;
|
||
|
}
|
||
|
|
||
|
location @404 {
|
||
|
echo 'This is OK';
|
||
|
}
|
||
|
}
|